Home
last modified time | relevance | path

Searched refs:getCapturedVar (Results 1 – 21 of 21) sorted by relevance

/external/clang/include/clang/AST/
DLambdaCapture.h105 VarDecl *getCapturedVar() const { in getCapturedVar() function
DStmt.h2062 VarDecl *getCapturedVar() const;
DRecursiveASTVisitor.h890 TRY_TO(TraverseDecl(C->getCapturedVar()));
/external/clang/lib/Index/
DIndexBody.cpp284 return IndexCtx.handleReference(C->getCapturedVar(), C->getLocation(), in TraverseLambdaCapture()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp434 VarDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures()
/external/clang/lib/AST/
DStmt.cpp991 VarDecl *CapturedStmt::Capture::getCapturedVar() const { in getCapturedVar() function in CapturedStmt::Capture
1115 if (I.getCapturedVar() == Var) in capturesVariable()
DStmtPrinter.cpp2078 OS << C->getCapturedVar()->getName(); in VisitLambdaExpr()
2082 OS << C->getCapturedVar()->getName(); in VisitLambdaExpr()
2089 PrintExpr(C->getCapturedVar()->getInit()); in VisitLambdaExpr()
DExprCXX.cpp940 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
941 (getCallOperator() == C->getCapturedVar()->getDeclContext())); in isInitCapture()
DStmtProfile.cpp1341 VisitDecl(C->getCapturedVar()); in VisitLambdaExpr()
DDeclCXX.cpp1085 Captures[C->getCapturedVar()] = *Field; in getCaptureFields()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp173 VarDecl *VD = LC.getCapturedVar(); in getSelfDecl()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp66 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()
DCodeGenFunction.h193 CaptureFields[I->getCapturedVar()] = *Field; in Kind()
195 CaptureFields[I->getCapturedVar()] = *Field; in Kind()
DCGOpenMPRuntime.cpp339 const VarDecl *VD = C.getCapturedVar(); in CGOpenMPInnerExprInfo()
5366 if (FirstPrivateDecls.count(Cap.getCapturedVar())) in adjustMapModifiersForPrivateClauses()
5459 : cast<ValueDecl>(Cap->getCapturedVar()->getCanonicalDecl()); in generateInfoForCapture()
DCGDebugInfo.cpp1020 VarDecl *V = C.getCapturedVar(); in CollectRecordLambdaFields()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp186 VarDecl *VD = I->getCapturedVar(); in TraverseLambdaExpr()
DTreeTransform.h10161 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()
DSemaDecl.cpp11210 VarDecl *VD = C.getCapturedVar(); in RebuildLambdaScopeInfo()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp346 Record.AddDeclRef(I.getCapturedVar()); in VisitCapturedStmt()
DASTWriter.cpp5557 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
/external/clang/tools/libclang/
DCIndex.cpp2939 if (Visit(MakeCursorVariableRef(C->getCapturedVar(), in RunVisitorWorkList()