Searched refs:capturesVariable (Results 1 – 21 of 21) sorted by relevance
89 bool capturesVariable() const { in capturesVariable() function106 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
2046 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function2132 bool capturesVariable(const VarDecl *Var) const;
3593 bool capturesVariable(const VarDecl *var) const;
992 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar()1107 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt1109 if (!I.capturesVariable()) in capturesVariable()
940 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
1084 else if (C->capturesVariable()) in getCaptureFields()
3900 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
283 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
431 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
170 if (!LC.capturesVariable()) in getSelfDecl()
185 if (I->capturesVariable()) { in TraverseLambdaExpr()
9877 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()9933 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
1469 if (VD->isLocalVarDecl() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
10295 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr()
11209 if (C.capturesVariable()) { in RebuildLambdaScopeInfo()
65 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope()166 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()226 if (I->capturesVariable() || I->capturesVariableByCopy()) { in GenerateOpenMPCapturedStmtFunction()285 } else if (I->capturesVariable()) { in GenerateOpenMPCapturedStmtFunction()
336 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo()5361 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in adjustMapModifiersForPrivateClauses()5512 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo()
192 else if (I->capturesVariable()) in Kind()
1017 if (C.capturesVariable()) { in CollectRecordLambdaFields()
5557 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
2936 if (!C->capturesVariable()) in RunVisitorWorkList()