| /freebsd-13.1/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 | 3512 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function 3598 bool capturesVariable(const VarDecl *Var) const;
|
| H A D | Decl.h | 4301 bool capturesVariable(const VarDecl *var) const;
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLambdaCapturesChecker.cpp | 59 if (C.capturesVariable()) { in visitLambdaExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Stmt.cpp | 1297 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar() 1417 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt 1419 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
|
| H A D | ExprCXX.cpp | 1210 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
| H A D | DeclCXX.cpp | 1569 else if (C->capturesVariable()) in getCaptureFields()
|
| H A D | Decl.cpp | 4715 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 591 if (It->capturesVariable()) in getVariableName()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 515 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexBody.cpp | 394 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
| /freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 297 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitOpenMPCapturedStmt() 390 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitCapturedStmt() 402 if (C.capturesVariable()) { in VisitLambdaExpr() 3741 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas() 3770 if (!CS->capturesVariable(VD)) in adjustTargetSpecificDataForLambdas()
|
| H A D | CGStmtOpenMP.cpp | 66 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 84 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope() 205 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar() 258 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPSimdLexicalScope() 363 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars() 470 if (I->capturesVariable() || I->capturesVariableByCopy()) { in emitOutlinedFunctionPrologue() 563 } else if (I->capturesVariable()) { in emitOutlinedFunctionPrologue()
|
| H A D | CGOpenMPRuntime.cpp | 360 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo() 8396 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses() 8994 if (!LC.capturesVariable()) in generateInfoForLambdaCaptures() 9081 (Cap->capturesVariable() ? OMP_MAP_TO : OMP_MAP_LITERAL) | in generateInfoForCapture() 9333 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo() 10454 if (CI->capturesVariable()) in emitTargetCall() 12305 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis() 12699 if (!CS->capturesVariable(VD) || IgnoredDecls.count(VD) > 0) in checkAndEmitSharedLastprivateConditional()
|
| H A D | CodeGenFunction.h | 394 else if (I->capturesVariable())
|
| H A D | CGDebugInfo.cpp | 1423 if (C.capturesVariable()) { in CollectRecordLambdaFields()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 7370 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 7378 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 7521 if (!Path[I].Capture->capturesVariable()) in nextPathEntryRange() 7786 if (!Elem.Capture->capturesVariable()) in checkInitializerLifetime()
|
| H A D | SemaOpenMP.cpp | 3484 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3499 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3830 if (!Cap.capturesVariable() && !Cap.capturesVariableByCopy()) in visitSubCaptures()
|
| H A D | SemaChecking.cpp | 15194 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 15253 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
|
| H A D | TreeTransform.h | 12910 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr() 13036 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in SkipLambdaBody()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4603 if (Capture.capturesVariable()) {
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5594 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
|