| /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 | 201 if (C.capturesVariable())
|
| H A D | Stmt.h | 3899 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } 3985 bool capturesVariable(const VarDecl *Var) const;
|
| H A D | Decl.h | 4741 bool capturesVariable(const VarDecl *var) const;
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | RawPtrRefLambdaCapturesChecker.cpp | 278 if (!OtherCapture.capturesVariable()) in checkASTDecl() 379 if (C.capturesVariable()) { in visitLambdaExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | CheckExprLifetime.cpp | 996 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 1003 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 1147 if (!Path[I].Capture->capturesVariable()) in nextPathEntryRange() 1580 if (!Elem.Capture->capturesVariable()) in checkExprLifetimeImpl()
|
| H A D | SemaObjC.cpp | 890 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 950 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
|
| H A D | SemaLambda.cpp | 2476 if (!CapturePattern.capturesVariable()) { in addInstantiatedCapturesToScope()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | ASTOps.cpp | 296 if (Capture.capturesVariable()) { in getReferencedDecls()
|
| H A D | DataflowEnvironment.cpp | 521 if (Capture.capturesVariable()) { in initialize()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 267 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitOpenMPCapturedStmt() 359 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitCapturedStmt() 371 if (C.capturesVariable()) { in VisitLambdaExpr() 2153 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas() 2184 if (!CS->capturesVariable(cast<VarDecl>(VD))) in adjustTargetSpecificDataForLambdas()
|
| H A D | CGStmtOpenMP.cpp | 80 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 98 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope() 242 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 295 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPSimdLexicalScope() 423 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars() 531 if (I->capturesVariable() || I->capturesVariableByCopy()) { in emitOutlinedFunctionPrologue() 629 } else if (I->capturesVariable()) { in emitOutlinedFunctionPrologue()
|
| H A D | CGOpenMPRuntime.cpp | 363 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo() 7956 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses() 8662 if (!LC.capturesVariable()) in generateInfoForLambdaCaptures() 9088 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo() 9553 if (CI->capturesVariable()) in genMapInfoForCaptures() 11566 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis() 11960 if (!CS->capturesVariable(VD) || IgnoredDecls.contains(VD)) in checkAndEmitSharedLastprivateConditional()
|
| H A D | CodeGenFunction.h | 465 else if (I->capturesVariable())
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1350 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar() 1475 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt 1477 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
|
| H A D | ExprCXX.cpp | 1347 return C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
| H A D | StmtProfile.cpp | 2126 if (Capture.capturesVariable()) in VisitLambdaExpr()
|
| H A D | DeclCXX.cpp | 1810 else if (C->capturesVariable()) in getCaptureFields()
|
| H A D | Decl.cpp | 5353 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 510 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 588 if (It->capturesVariable()) in getVariableName()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 410 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | AnalysisDeclContext.cpp | 167 if (!LC.capturesVariable()) in getSelfDecl()
|
| H A D | CalledOnceCheck.cpp | 1112 return Block->capturesVariable(Parameter); in isCaptured()
|
| /freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5057 if (!Node.capturesVariable()) in AST_MATCHER_P()
|