Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DLambdaCapture.h77 bool capturesVariable() const { in capturesVariable() function
94 assert(capturesVariable() && "No variable available for 'this' capture"); in getCapturedVar()
DStmt.h2024 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function
2041 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar()
2122 bool capturesVariable(const VarDecl *Var) const;
DDecl.h3594 bool capturesVariable(const VarDecl *var) const;
/external/clang/tools/libclang/
DIndexBody.cpp157 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
DCIndex.cpp2826 if (!C->capturesVariable()) in RunVisitorWorkList()
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp429 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
/external/clang/lib/AST/
DStmt.cpp1063 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt
1065 if (!I.capturesVariable()) in capturesVariable()
DExprCXX.cpp1031 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
DDeclCXX.cpp1028 else if (C->capturesVariable()) in getCaptureFields()
DDecl.cpp3774 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
/external/clang/lib/Analysis/
DAnalysisDeclContext.cpp160 if (!LC.capturesVariable()) in getSelfDecl()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp185 if (I->capturesVariable()) { in TraverseLambdaExpr()
DSemaChecking.cpp8854 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
8910 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
DSemaOpenMP.cpp1293 if (VD->isLocalVarDecl() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
DTreeTransform.h9958 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr()
DSemaDecl.cpp10800 if (C.capturesVariable()) { in RebuildLambdaScopeInfo()
/external/clang/lib/CodeGen/
DCGStmtOpenMP.cpp41 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()
101 if (I->capturesVariable() || I->capturesVariableByCopy()) { in GenerateOpenMPCapturedStmtFunction()
160 } else if (I->capturesVariable()) { in GenerateOpenMPCapturedStmtFunction()
DCodeGenFunction.h189 else if (I->capturesVariable()) in Kind()
DCGOpenMPRuntime.cpp3342 assert(CI->capturesVariable() && "Expected captured reference."); in emitTargetCall()
DCGDebugInfo.cpp932 if (C.capturesVariable()) { in CollectRecordLambdaFields()
/external/clang/lib/Serialization/
DASTWriter.cpp5560 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()