Home
last modified time | relevance | path

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

/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;
DDecl.h3593 bool capturesVariable(const VarDecl *var) const;
/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()
DDecl.cpp3900 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
/external/clang/lib/Index/
DIndexBody.cpp283 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp431 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp170 if (!LC.capturesVariable()) in getSelfDecl()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp185 if (I->capturesVariable()) { in TraverseLambdaExpr()
DSemaChecking.cpp9877 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
9933 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
DSemaOpenMP.cpp1469 if (VD->isLocalVarDecl() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
DTreeTransform.h10295 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr()
DSemaDecl.cpp11209 if (C.capturesVariable()) { in RebuildLambdaScopeInfo()
/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()
DCGOpenMPRuntime.cpp336 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo()
5361 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in adjustMapModifiersForPrivateClauses()
5512 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo()
DCodeGenFunction.h192 else if (I->capturesVariable()) in Kind()
DCGDebugInfo.cpp1017 if (C.capturesVariable()) { in CollectRecordLambdaFields()
/external/clang/lib/Serialization/
DASTWriter.cpp5557 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()
/external/clang/tools/libclang/
DCIndex.cpp2936 if (!C->capturesVariable()) in RunVisitorWorkList()