/external/llvm-project/clang/include/clang/AST/ |
D | LambdaCapture.h | 88 bool capturesVariable() const { in capturesVariable() function 105 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
|
D | StmtDataCollectors.td | 202 if (C.capturesVariable())
|
D | Stmt.h | 3508 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function 3594 bool capturesVariable(const VarDecl *Var) const;
|
/external/clang/include/clang/AST/ |
D | LambdaCapture.h | 89 bool capturesVariable() const { in capturesVariable() function 106 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
|
D | Stmt.h | 2046 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/ |
D | UncountedLambdaCapturesChecker.cpp | 59 if (C.capturesVariable()) { in visitLambdaExpr()
|
/external/clang/lib/AST/ |
D | Stmt.cpp | 992 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar() 1107 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt 1109 if (!I.capturesVariable()) in capturesVariable()
|
D | ExprCXX.cpp | 940 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
D | DeclCXX.cpp | 1084 else if (C->capturesVariable()) in getCaptureFields()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 283 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
/external/llvm-project/clang/lib/AST/ |
D | Stmt.cpp | 1290 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()
|
D | ExprCXX.cpp | 1208 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 431 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
D | UninitializedObjectChecker.cpp | 591 if (It->capturesVariable()) in getVariableName()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | DeadStoresChecker.cpp | 489 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexBody.cpp | 397 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
|
/external/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 170 if (!LC.capturesVariable()) in getSelfDecl()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertUtils.cpp | 781 if (C->capturesVariable()) { in TraverseLambdaCapture()
|
/external/llvm-project/clang/lib/Analysis/ |
D | AnalysisDeclContext.cpp | 169 if (!LC.capturesVariable()) in getSelfDecl()
|
/external/clang/lib/Sema/ |
D | SemaTemplateVariadic.cpp | 185 if (I->capturesVariable()) { in TraverseLambdaExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
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() 4501 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas() 4530 if (!CS->capturesVariable(VD)) in adjustTargetSpecificDataForLambdas()
|
D | CGStmtOpenMP.cpp | 66 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()
|
D | CGOpenMPRuntime.cpp | 359 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/ |
D | CGStmtOpenMP.cpp | 65 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/ |
D | SemaInit.cpp | 7301 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()
|