Lines Matching defs:VarToCapture
34 /// the variable referenced in the current lambda (i.e. \p VarToCapture).
40 /// lambda that is ready to capture the \p VarToCapture being referenced in
50 /// If \p VarToCapture is 'null' then we are trying to capture 'this'.
60 /// \param VarToCapture - the variable to capture. If NULL, capture 'this'.
65 /// then no lambda is capture-ready for \p VarToCapture.
70 ValueDecl *VarToCapture) {
83 // If VarToCapture is null, we are attempting to capture 'this'.
84 const bool IsCapturingThis = !VarToCapture;
102 VarToCapture->getDeclContext()->Equals(EnclosingDC))
122 if (IsCapturingVariable && !LSI->isCaptured(VarToCapture))
145 /// the variable referenced in the current lambda (i.e. \p VarToCapture).
170 /// \param VarToCapture - the variable to capture. If NULL, capture 'this'.
176 /// then no lambda is capture-capable for \p VarToCapture.
181 ValueDecl *VarToCapture, Sema &S) {
187 VarToCapture);
200 // If VarToCapture is null, we are attempting to capture 'this'
201 const bool IsCapturingThis = !VarToCapture;
210 !S.tryCaptureVariable(VarToCapture,