Searched refs:capturesVariable (Results 1 – 21 of 21) sorted by relevance
77 bool capturesVariable() const { in capturesVariable() function94 assert(capturesVariable() && "No variable available for 'this' capture"); in getCapturedVar()
2024 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function2041 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar()2122 bool capturesVariable(const VarDecl *Var) const;
3594 bool capturesVariable(const VarDecl *var) const;
157 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
2826 if (!C->capturesVariable()) in RunVisitorWorkList()
429 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
1063 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt1065 if (!I.capturesVariable()) in capturesVariable()
1031 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
1028 else if (C->capturesVariable()) in getCaptureFields()
3774 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
160 if (!LC.capturesVariable()) in getSelfDecl()
185 if (I->capturesVariable()) { in TraverseLambdaExpr()
8854 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()8910 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
1293 if (VD->isLocalVarDecl() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
9958 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr()
10800 if (C.capturesVariable()) { in RebuildLambdaScopeInfo()
41 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()101 if (I->capturesVariable() || I->capturesVariableByCopy()) { in GenerateOpenMPCapturedStmtFunction()160 } else if (I->capturesVariable()) { in GenerateOpenMPCapturedStmtFunction()
189 else if (I->capturesVariable()) in Kind()
3342 assert(CI->capturesVariable() && "Expected captured reference."); in emitTargetCall()
932 if (C.capturesVariable()) { in CollectRecordLambdaFields()
5560 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()