Lines Matching defs:Cap
16417 for (Capture &Cap : BSI->Captures) {
16418 if (Cap.isInvalid() || Cap.isThisCapture())
16420 // Cap.getVariable() is always a VarDecl because
16422 auto *Var = cast<VarDecl>(Cap.getVariable());
16424 if (getLangOpts().CPlusPlus && Cap.isCopyCapture()) {
16426 Cap.getCaptureType()->getAs<RecordType>()) {
16443 SourceLocation Loc = Cap.getLocation();
16461 Cap.getCaptureType()),
16477 BlockDecl::Capture NewCap(Var, Cap.isBlockCapture(), Cap.isNested(),
18527 const Capture &Cap = CSI->getCapture(Var);
18532 if (Cap.isCopyCapture() && !DeclRefType->isFunctionType() &&