| /freebsd-14.2/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 | 3799 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function 3885 bool capturesVariable(const VarDecl *Var) const;
|
| H A D | Decl.h | 4608 bool capturesVariable(const VarDecl *var) const;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLambdaCapturesChecker.cpp | 60 if (C.capturesVariable()) { in visitLambdaExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1305 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar() 1430 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt 1432 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
|
| H A D | ExprCXX.cpp | 1291 return C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
| H A D | StmtProfile.cpp | 2075 if (Capture.capturesVariable()) in VisitLambdaExpr()
|
| H A D | DeclCXX.cpp | 1651 else if (C->capturesVariable()) in getCaptureFields()
|
| H A D | Decl.cpp | 5190 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 586 if (It->capturesVariable()) in getVariableName()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 511 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 412 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 169 if (!LC.capturesVariable()) in getSelfDecl()
|
| H A D | CalledOnceCheck.cpp | 1113 return Block->capturesVariable(Parameter); in isCaptured()
|
| /freebsd-14.2/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() 3362 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas() 3393 if (!CS->capturesVariable(cast<VarDecl>(VD))) in adjustTargetSpecificDataForLambdas()
|
| H A D | CGStmtOpenMP.cpp | 72 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 90 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope() 210 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 263 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPSimdLexicalScope() 366 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars() 473 if (I->capturesVariable() || I->capturesVariableByCopy()) { in emitOutlinedFunctionPrologue() 571 } else if (I->capturesVariable()) { in emitOutlinedFunctionPrologue()
|
| H A D | CGOpenMPRuntime.cpp | 365 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo() 7666 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses() 8352 if (!LC.capturesVariable()) in generateInfoForLambdaCaptures() 8728 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo() 9484 if (CI->capturesVariable()) in emitTargetCallKernelLaunch() 11470 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis() 11864 if (!CS->capturesVariable(VD) || IgnoredDecls.contains(VD)) in checkAndEmitSharedLastprivateConditional()
|
| H A D | CodeGenFunction.h | 430 else if (I->capturesVariable())
|
| H A D | CGDebugInfo.cpp | 1644 if (C.capturesVariable()) { in CollectRecordLambdaFields()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowEnvironment.cpp | 405 if (Capture.capturesVariable()) { in initialize()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaConcept.cpp | 567 if (!CapturePattern.capturesVariable()) { in addInstantiatedCapturesToScope()
|
| H A D | SemaInit.cpp | 7917 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 7925 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 8068 if (!Path[I].Capture->capturesVariable()) in nextPathEntryRange() 8333 if (!Elem.Capture->capturesVariable()) in checkInitializerLifetime()
|
| H A D | SemaOpenMP.cpp | 3749 if (!CS || (isa<OMPCapturedExprDecl>(VD) && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3764 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3780 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 4134 if (!Cap.capturesVariable() && !Cap.capturesVariableByCopy()) in visitSubCaptures()
|
| H A D | TreeTransform.h | 13572 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr() 13785 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in SkipLambdaBody()
|