Lines Matching defs:VarToCapture
37 /// the variable referenced in the current lambda (i.e. \p VarToCapture).
43 /// lambda that is ready to capture the \p VarToCapture being referenced in
53 /// If \p VarToCapture is 'null' then we are trying to capture 'this'.
63 /// \param VarToCapture - the variable to capture. If NULL, capture 'this'.
68 /// then no lambda is capture-ready for \p VarToCapture.
73 ValueDecl *VarToCapture) {
86 // If VarToCapture is null, we are attempting to capture 'this'.
87 const bool IsCapturingThis = !VarToCapture;
105 VarToCapture->getDeclContext()->Equals(EnclosingDC))
125 if (IsCapturingVariable && !LSI->isCaptured(VarToCapture))
148 /// the variable referenced in the current lambda (i.e. \p VarToCapture).
173 /// \param VarToCapture - the variable to capture. If NULL, capture 'this'.
179 /// then no lambda is capture-capable for \p VarToCapture.
184 ValueDecl *VarToCapture, Sema &S) {
190 VarToCapture);
203 // If VarToCapture is null, we are attempting to capture 'this'
204 const bool IsCapturingThis = !VarToCapture;
213 !S.tryCaptureVariable(VarToCapture,