Lines Matching defs:Cap
16180 for (Capture &Cap : BSI->Captures) {
16181 if (Cap.isInvalid() || Cap.isThisCapture())
16183 // Cap.getVariable() is always a VarDecl because
16185 auto *Var = cast<VarDecl>(Cap.getVariable());
16187 if (getLangOpts().CPlusPlus && Cap.isCopyCapture()) {
16189 Cap.getCaptureType()->getAs<RecordType>()) {
16206 SourceLocation Loc = Cap.getLocation();
16224 Cap.getCaptureType()),
16240 BlockDecl::Capture NewCap(Var, Cap.isBlockCapture(), Cap.isNested(),
18260 const Capture &Cap = CSI->getCapture(Var);
18261 if (Cap.isCopyCapture() &&