| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | LambdaCapture.h | 104 ValueDecl *getCapturedVar() const { in getCapturedVar() function
|
| H A D | StmtDataCollectors.td | 202 addData(C.getCapturedVar()->getType());
|
| H A D | ASTNodeTraverser.h | 932 Visit(C->getCapturedVar()); in VisitLambdaExpr()
|
| H A D | Stmt.h | 3915 VarDecl *getCapturedVar() const;
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefLambdaCapturesChecker.cpp | 280 if (auto *ValueDecl = OtherCapture.getCapturedVar()) { in checkASTDecl() 380 ValueDecl *CapturedVar = C.getCapturedVar(); in visitLambdaExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | ASTOps.cpp | 298 dyn_cast<ParmVarDecl>(Capture.getCapturedVar())) { in getReferencedDecls()
|
| H A D | DataflowEnvironment.cpp | 522 const auto *VarDecl = Capture.getCapturedVar(); in initialize()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 268 const ValueDecl *VD = C.getCapturedVar(); in VisitOpenMPCapturedStmt() 360 const ValueDecl *VD = C.getCapturedVar(); in VisitCapturedStmt() 373 const ValueDecl *VD = C.getCapturedVar(); in VisitLambdaExpr() 1964 !CI->getCapturedVar()->getType()->isAnyPointerType()) { in createParallelDataSharingWrapper() 2155 const VarDecl *VD = C.getCapturedVar(); in adjustTargetSpecificDataForLambdas() 2181 const ValueDecl *VD = LC.getCapturedVar(); in adjustTargetSpecificDataForLambdas()
|
| H A D | CGOpenMPRuntime.cpp | 366 const VarDecl *VD = C.getCapturedVar(); in CGOpenMPInnerExprInfo() 7961 if (FirstPrivateDecls.count(Cap.getCapturedVar())) { in getMapModifiersForPrivateClauses() 7962 if (Cap.getCapturedVar()->getType()->isAnyPointerType()) in getMapModifiersForPrivateClauses() 7968 auto I = LambdasMap.find(Cap.getCapturedVar()->getCanonicalDecl()); in getMapModifiersForPrivateClauses() 8664 const VarDecl *VD = cast<VarDecl>(LC.getCapturedVar()); in generateInfoForLambdaCaptures() 8749 : Cap->getCapturedVar()->getCanonicalDecl(); in generateInfoForCaptureFromClauseInfo() 9065 const VarDecl *VD = CI.getCapturedVar(); in generateDefaultMapInfo() 9097 const VarDecl *VD = CI.getCapturedVar(); in generateDefaultMapInfo() 9544 MappedVarSet.insert(CI->getCapturedVar()); in genMapInfoForCaptures() 9554 MEHandler.generateInfoForLambdaCaptures(CI->getCapturedVar(), *CV, in genMapInfoForCaptures() [all …]
|
| H A D | CGStmtOpenMP.cpp | 99 auto *VD = C.getCapturedVar(); in OMPLexicalScope() 296 auto *VD = C.getCapturedVar(); in OMPSimdLexicalScope() 405 Twine(CurCap->getCapturedVar()->getName(), ".casted")); in GenerateOpenMPCapturedVars() 532 CapVar = I->getCapturedVar(); in emitOutlinedFunctionPrologue() 609 const VarDecl *CurVD = I->getCapturedVar(); in emitOutlinedFunctionPrologue() 630 const VarDecl *Var = I->getCapturedVar(); in emitOutlinedFunctionPrologue() 647 const VarDecl *Var = I->getCapturedVar(); in emitOutlinedFunctionPrologue()
|
| H A D | CodeGenFunction.h | 466 CaptureFields[I->getCapturedVar()->getCanonicalDecl()] = *Field; 468 CaptureFields[I->getCapturedVar()->getCanonicalDecl()] = *Field;
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 513 ValueDecl *VD = C.getCapturedVar(); in findLambdaReferenceCaptures()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 590 It->getCapturedVar()->getName()) in getVariableName()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 411 return IndexCtx.handleReference(C->getCapturedVar(), C->getLocation(), in TraverseLambdaCapture()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 170 ValueDecl *VD = LC.getCapturedVar(); in getSelfDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1349 VarDecl *CapturedStmt::Capture::getCapturedVar() const { in getCapturedVar() function in CapturedStmt::Capture 1479 if (I.getCapturedVar()->getCanonicalDecl() == Var->getCanonicalDecl()) in capturesVariable()
|
| H A D | StmtPrinter.cpp | 2360 OS << C->getCapturedVar()->getName(); in VisitLambdaExpr() 2364 OS << C->getCapturedVar()->getName(); in VisitLambdaExpr() 2376 auto *D = cast<VarDecl>(C->getCapturedVar()); in VisitLambdaExpr()
|
| H A D | ExprCXX.cpp | 1347 return C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture() 1348 getCallOperator() == C->getCapturedVar()->getDeclContext(); in isInitCapture()
|
| H A D | StmtProfile.cpp | 2127 VisitDecl(Capture.getCapturedVar()); in VisitLambdaExpr()
|
| H A D | DeclCXX.cpp | 1811 Captures[C->getCapturedVar()] = *Field; in getCaptureFields()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 2470 : LambdaClass->getCapture(Index)->getCapturedVar(); in addInstantiatedCapturesToScope() 2480 ValueDecl *CapturedPattern = CapturePattern.getCapturedVar(); in addInstantiatedCapturesToScope()
|
| H A D | CheckExprLifetime.cpp | 1584 const ValueDecl *VD = Elem.Capture->getCapturedVar(); in checkExprLifetimeImpl()
|
| H A D | TreeTransform.h | 15421 auto *OldVD = cast<VarDecl>(C->getCapturedVar()); in TransformLambdaExpr() 15438 cast<VarDecl>(C->getCapturedVar())->getInitStyle() != in TransformLambdaExpr() 15573 auto *OldVD = cast<VarDecl>(C->getCapturedVar()); in TransformLambdaExpr() 15618 UnexpandedParameterPack Unexpanded(C->getCapturedVar(), C->getLocation()); in TransformLambdaExpr() 15635 auto *Pack = cast<ValueDecl>(C->getCapturedVar()); in TransformLambdaExpr() 15659 getDerived().TransformDecl(C->getLocation(), C->getCapturedVar())); in TransformLambdaExpr() 15845 getDerived().TransformDecl(C->getLocation(), C->getCapturedVar())); in SkipLambdaBody()
|
| /freebsd/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 291 if (Node->isInitCapture(C) && !match(*C->getCapturedVar())) in TraverseLambdaExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5059 auto *capturedVar = Node.getCapturedVar(); in AST_MATCHER_P()
|