Searched refs:getCapturedVar (Results 1 – 21 of 21) sorted by relevance
105 VarDecl *getCapturedVar() const { in getCapturedVar() function
2062 VarDecl *getCapturedVar() const;
890 TRY_TO(TraverseDecl(C->getCapturedVar()));
284 return IndexCtx.handleReference(C->getCapturedVar(), C->getLocation(), in TraverseLambdaCapture()
434 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures()
991 VarDecl *CapturedStmt::Capture::getCapturedVar() const { in getCapturedVar() function in CapturedStmt::Capture1115 if (I.getCapturedVar() == Var) in capturesVariable()
2078 OS << C->getCapturedVar()->getName(); in VisitLambdaExpr()2082 OS << C->getCapturedVar()->getName(); in VisitLambdaExpr()2089 PrintExpr(C->getCapturedVar()->getInit()); in VisitLambdaExpr()
940 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()941 (getCallOperator() == C->getCapturedVar()->getDeclContext())); in isInitCapture()
1341 VisitDecl(C->getCapturedVar()); in VisitLambdaExpr()
1085 Captures[C->getCapturedVar()] = *Field; in getCaptureFields()
173 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl()
66 auto *VD = C.getCapturedVar(); in OMPLexicalScope()149 Twine(CurCap->getCapturedVar()->getName()) + ".casted"); in GenerateOpenMPCapturedVars()227 CapVar = I->getCapturedVar(); in GenerateOpenMPCapturedStmtFunction()267 setAddrOfLocalVar(I->getCapturedVar(), GetAddrOfLocalVar(Args[Cnt])); in GenerateOpenMPCapturedStmtFunction()286 auto *Var = I->getCapturedVar(); in GenerateOpenMPCapturedStmtFunction()298 auto *Var = I->getCapturedVar(); in GenerateOpenMPCapturedStmtFunction()
193 CaptureFields[I->getCapturedVar()] = *Field; in Kind()195 CaptureFields[I->getCapturedVar()] = *Field; in Kind()
339 const VarDecl *VD = C.getCapturedVar(); in CGOpenMPInnerExprInfo()5366 if (FirstPrivateDecls.count(Cap.getCapturedVar())) in adjustMapModifiersForPrivateClauses()5459 : cast<ValueDecl>(Cap->getCapturedVar()->getCanonicalDecl()); in generateInfoForCapture()
1020 VarDecl *V = C.getCapturedVar(); in CollectRecordLambdaFields()
186 VarDecl *VD = I->getCapturedVar(); in TraverseLambdaExpr()
10161 C->getCapturedVar()->getInit(), in TransformLambdaExpr()10162 C->getCapturedVar()->getInitStyle() == VarDecl::CallInit); in TransformLambdaExpr()10168 VarDecl *OldVD = C->getCapturedVar(); in TransformLambdaExpr()10173 C->getCapturedVar()->getInitStyle() != VarDecl::CInit, NewExprInit); in TransformLambdaExpr()10282 VarDecl *OldVD = C->getCapturedVar(); in TransformLambdaExpr()10305 UnexpandedParameterPack Unexpanded(C->getCapturedVar(), C->getLocation()); in TransformLambdaExpr()10322 VarDecl *Pack = C->getCapturedVar(); in TransformLambdaExpr()10348 C->getCapturedVar())); in TransformLambdaExpr()
11210 VarDecl *VD = C.getCapturedVar(); in RebuildLambdaScopeInfo()
346 Record.AddDeclRef(I.getCapturedVar()); in VisitCapturedStmt()
5557 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
2939 if (Visit(MakeCursorVariableRef(C->getCapturedVar(), in RunVisitorWorkList()