Home
last modified time | relevance | path

Searched refs:capturesVariable (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm-project/clang/include/clang/AST/
DLambdaCapture.h88 bool capturesVariable() const { in capturesVariable() function
105 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
DStmtDataCollectors.td202 if (C.capturesVariable())
DStmt.h3508 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function
3594 bool capturesVariable(const VarDecl *Var) const;
/external/clang/include/clang/AST/
DLambdaCapture.h89 bool capturesVariable() const { in capturesVariable() function
106 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
DStmt.h2046 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function
2132 bool capturesVariable(const VarDecl *Var) const;
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
DUncountedLambdaCapturesChecker.cpp59 if (C.capturesVariable()) { in visitLambdaExpr()
/external/clang/lib/AST/
DStmt.cpp992 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar()
1107 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt
1109 if (!I.capturesVariable()) in capturesVariable()
DExprCXX.cpp940 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
DDeclCXX.cpp1084 else if (C->capturesVariable()) in getCaptureFields()
/external/clang/lib/Index/
DIndexBody.cpp283 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
/external/llvm-project/clang/lib/AST/
DStmt.cpp1290 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar()
1410 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt
1412 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
DExprCXX.cpp1208 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp431 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
DUninitializedObjectChecker.cpp591 if (It->capturesVariable()) in getVariableName()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp489 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
/external/llvm-project/clang/lib/Index/
DIndexBody.cpp397 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp170 if (!LC.capturesVariable()) in getSelfDecl()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp781 if (C->capturesVariable()) { in TraverseLambdaCapture()
/external/llvm-project/clang/lib/Analysis/
DAnalysisDeclContext.cpp169 if (!LC.capturesVariable()) in getSelfDecl()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp185 if (I->capturesVariable()) { in TraverseLambdaExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGOpenMPRuntimeGPU.cpp297 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitOpenMPCapturedStmt()
390 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitCapturedStmt()
402 if (C.capturesVariable()) { in VisitLambdaExpr()
4501 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas()
4530 if (!CS->capturesVariable(VD)) in adjustTargetSpecificDataForLambdas()
DCGStmtOpenMP.cpp66 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar()
84 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope()
200 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar()
244 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPSimdLexicalScope()
347 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()
454 if (I->capturesVariable() || I->capturesVariableByCopy()) { in emitOutlinedFunctionPrologue()
543 } else if (I->capturesVariable()) { in emitOutlinedFunctionPrologue()
DCGOpenMPRuntime.cpp359 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo()
8098 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses()
8692 if (!LC.capturesVariable()) in generateInfoForLambdaCaptures()
8779 (Cap->capturesVariable() ? OMP_MAP_TO : OMP_MAP_LITERAL) | in generateInfoForCapture()
8989 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo()
10120 if (CI->capturesVariable()) in emitTargetCall()
11973 if (Cap.capturesVariable() || Cap.capturesVariableByCopy()) in tryToDisableInnerAnalysis()
12367 if (!CS->capturesVariable(VD) || IgnoredDecls.count(VD) > 0) in checkAndEmitSharedLastprivateConditional()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp65 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope()
166 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()
226 if (I->capturesVariable() || I->capturesVariableByCopy()) { in GenerateOpenMPCapturedStmtFunction()
285 } else if (I->capturesVariable()) { in GenerateOpenMPCapturedStmtFunction()
/external/llvm-project/clang/lib/Sema/
DSemaInit.cpp7301 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer()
7309 if (Cap.capturesVariable()) in visitLocalsRetainedByInitializer()
7452 if (!Path[I].Capture->capturesVariable()) in nextPathEntryRange()
7715 if (!Elem.Capture->capturesVariable()) in checkInitializerLifetime()

12