/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | LambdaCapture.h | 88 bool capturesVariable() const { in capturesVariable() function 105 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
|
H A D | StmtDataCollectors.td | 202 if (C.capturesVariable())
|
H A D | Stmt.h | 3806 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } 3892 bool capturesVariable(const VarDecl *Var) const;
|
H A D | Decl.h | 4628 bool capturesVariable(const VarDecl *var) const;
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedLambdaCapturesChecker.cpp | 60 if (C.capturesVariable()) { in visitLambdaExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | CheckExprLifetime.cpp | 810 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 818 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 963 if (!Path[I].Capture->capturesVariable()) in nextPathEntryRange() 1268 if (!Elem.Capture->capturesVariable()) in checkExprLifetimeImpl()
|
H A D | SemaObjC.cpp | 894 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 954 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
|
H A D | SemaConcept.cpp | 724 if (!CapturePattern.capturesVariable()) { in addInstantiatedCapturesToScope()
|
H A D | SemaOpenMP.cpp | 3791 if (!CS || (isa<OMPCapturedExprDecl>(VD) && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3806 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3822 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 4176 if (!Cap.capturesVariable() && !Cap.capturesVariableByCopy()) in visitSubCaptures()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGOpenMPRuntimeGPU.cpp | 266 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitOpenMPCapturedStmt() 359 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitCapturedStmt() 371 if (C.capturesVariable()) { in VisitLambdaExpr() 2156 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas() 2187 if (!CS->capturesVariable(cast<VarDecl>(VD))) in adjustTargetSpecificDataForLambdas()
|
H A D | CGStmtOpenMP.cpp | 76 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 94 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope() 236 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 289 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPSimdLexicalScope() 393 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars() 501 if (I->capturesVariable() || I->capturesVariableByCopy()) { in emitOutlinedFunctionPrologue() 599 } else if (I->capturesVariable()) { in emitOutlinedFunctionPrologue()
|
H A D | CGOpenMPRuntime.cpp | 367 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo() 7695 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses() 8403 if (!LC.capturesVariable()) in generateInfoForLambdaCaptures() 8788 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo() 9546 if (CI->capturesVariable()) in emitTargetCallKernelLaunch() 11499 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis() 11895 if (!CS->capturesVariable(VD) || IgnoredDecls.contains(VD)) in checkAndEmitSharedLastprivateConditional()
|
H A D | CodeGenFunction.h | 475 else if (I->capturesVariable())
|
H A D | CGDebugInfo.cpp | 1770 if (C.capturesVariable()) { in CollectRecordLambdaFields()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 1306 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar() 1431 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt 1433 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
|
H A D | StmtProfile.cpp | 2085 if (Capture.capturesVariable()) in VisitLambdaExpr()
|
H A D | ExprCXX.cpp | 1341 return C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
H A D | DeclCXX.cpp | 1693 else if (C->capturesVariable()) in getCaptureFields()
|
H A D | Decl.cpp | 5245 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexBody.cpp | 412 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | AnalysisDeclContext.cpp | 169 if (!LC.capturesVariable()) in getSelfDecl()
|
H A D | CalledOnceCheck.cpp | 1114 return Block->capturesVariable(Parameter); in isCaptured()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.cpp | 522 if (Capture.capturesVariable()) { in initialize()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 4964 if (!Node.capturesVariable()) in AST_MATCHER_P()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 6649 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
|