| /openbsd-src/gnu/llvm/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 | 3585 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function 3671 bool capturesVariable(const VarDecl *Var) const;
|
| H A D | Decl.h | 4493 bool capturesVariable(const VarDecl *var) const;
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLambdaCapturesChecker.cpp | 60 if (C.capturesVariable()) { in visitLambdaExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Stmt.cpp | 1304 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar() 1424 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt 1426 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
|
| H A D | ExprCXX.cpp | 1281 return C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
| H A D | DeclCXX.cpp | 1612 else if (C->capturesVariable()) in getCaptureFields()
|
| H A D | Decl.cpp | 4940 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 511 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 589 if (It->capturesVariable()) in getVariableName()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | IndexBody.cpp | 398 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 278 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitOpenMPCapturedStmt() 371 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitCapturedStmt() 383 if (C.capturesVariable()) { in VisitLambdaExpr() 3435 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas() 3466 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 | 364 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo() 7930 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses() 8586 if (!LC.capturesVariable()) in generateInfoForLambdaCaptures() 8683 (Cap->capturesVariable() in generateInfoForCapture() 8949 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo() 10025 if (CI->capturesVariable()) in emitTargetCall() 11931 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis() 12325 if (!CS->capturesVariable(VD) || IgnoredDecls.contains(VD)) in checkAndEmitSharedLastprivateConditional()
|
| H A D | CodeGenFunction.h | 422 else if (I->capturesVariable())
|
| H A D | CGDebugInfo.cpp | 1528 if (C.capturesVariable()) { in CollectRecordLambdaFields()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 7757 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 7765 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer() 7908 if (!Path[I].Capture->capturesVariable()) in nextPathEntryRange() 8173 if (!Elem.Capture->capturesVariable()) in checkInitializerLifetime()
|
| H A D | SemaOpenMP.cpp | 3724 if (!CS || (isa<OMPCapturedExprDecl>(VD) && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3739 if (VD->hasLocalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 3755 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 4109 if (!Cap.capturesVariable() && !Cap.capturesVariableByCopy()) in visitSubCaptures()
|
| H A D | TreeTransform.h | 13381 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr() 13506 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in SkipLambdaBody()
|
| H A D | SemaChecking.cpp | 16580 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr() 16639 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
|
| /openbsd-src/gnu/llvm/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 5962 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CIndex.cpp | 3509 if (!C->capturesVariable()) in RunVisitorWorkList()
|