Lines Matching defs:Capture
16179 SmallVector<BlockDecl::Capture, 4> Captures;
16180 for (Capture &Cap : BSI->Captures) {
16240 BlockDecl::Capture NewCap(Var, Cap.isBlockCapture(), Cap.isNested(),
18194 void Sema::MarkCaptureUsedInEnclosingContext(ValueDecl *Capture,
18197 MarkVarDeclODRUsed(Capture, Loc, *this, &CapturingScopeIndex);
18260 const Capture &Cap = CSI->getCapture(Var);
18440 /// Capture the given variable in the captured region.
18480 /// Capture the given variable in the lambda.
18612 // Don't offer Capture by copy of default capture by copy fixes if Var is
18642 if (llvm::any_of(LSI->Captures, [](Capture &C) {
18662 if (CanDefaultCopyCapture && llvm::none_of(LSI->Captures, [](Capture &C) {
18674 if (llvm::none_of(LSI->Captures, [](Capture &C) {
18732 // Capture global variables if it is required to use private copy of this
19452 assert(E && "Capture variable should be used in an expression.");