Searched refs:capturesVariable (Results 1 – 16 of 16) sorted by relevance
77 bool capturesVariable() const { in capturesVariable() function90 return capturesVariable() && getCapturedVar()->isInitCapture(); in isInitCapture()99 assert(capturesVariable() && "No variable available for 'this' capture"); in getCapturedVar()
2036 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function2048 assert(capturesVariable() && in getCapturedVar()2129 bool capturesVariable(const VarDecl *Var) const;
3483 bool capturesVariable(const VarDecl *var) const;
156 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
2620 if (!C->capturesVariable()) in RunVisitorWorkList()
185 if (I->capturesVariable()) { in TraverseLambdaExpr()
7963 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()8019 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
948 if (VD->isLocalVarDecl() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
9247 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaScope()
10197 if (C.capturesVariable()) { in RebuildLambdaScopeInfo()
1154 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt1156 if (!I.capturesVariable()) in capturesVariable()
1034 else if (C->capturesVariable()) in getCaptureFields()
3727 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
185 else if (I->capturesVariable()) in Kind()
867 if (C.capturesVariable()) { in CollectRecordLambdaFields()
5704 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()