Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DLambdaCapture.h89 bool capturesVariable() const { in capturesVariable() function
106 assert(capturesVariable() && "No variable available for capture"); in getCapturedVar()
H A DStmtDataCollectors.td202 if (C.capturesVariable())
H A DStmt.h3146 bool capturesVariable() const { return getCaptureKind() == VCK_ByRef; } in capturesVariable() function
3232 bool capturesVariable(const VarDecl *Var) const;
H A DDecl.h4012 bool capturesVariable(const VarDecl *var) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DStmt.cpp1173 assert((capturesVariable() || capturesVariableByCopy()) && in getCapturedVar()
1289 bool CapturedStmt::capturesVariable(const VarDecl *Var) const { in capturesVariable() function in CapturedStmt
1291 if (!I.capturesVariable() && !I.capturesVariableByCopy()) in capturesVariable()
H A DExprCXX.cpp1154 return (C->capturesVariable() && C->getCapturedVar()->isInitCapture() && in isInitCapture()
H A DDeclCXX.cpp1406 else if (C->capturesVariable()) in getCaptureFields()
H A DDecl.cpp4289 bool BlockDecl::capturesVariable(const VarDecl *variable) const { in capturesVariable() function in BlockDecl
H A DASTImporter.cpp926 if (From.capturesVariable()) { in import()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp509 if (It->capturesVariable()) in getVariableName()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp431 if (!C.capturesVariable()) in findLambdaReferenceCaptures()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DIndexBody.cpp395 if (C->capturesVariable() && IndexCtx.shouldIndexFunctionLocalSymbols()) in TraverseLambdaCapture()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp168 if (!LC.capturesVariable()) in getSelfDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp371 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitOpenMPCapturedStmt()
463 if (C.capturesVariable() && !C.capturesVariableByCopy()) { in VisitCapturedStmt()
475 if (C.capturesVariable()) { in VisitLambdaExpr()
4333 if (!C.capturesVariable()) in adjustTargetSpecificDataForLambdas()
4362 if (!CS->capturesVariable(VD)) in adjustTargetSpecificDataForLambdas()
H A DCGStmtOpenMP.cpp71 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPLexicalScope()
152 cast<BlockDecl>(CGF.CurCodeDecl)->capturesVariable(VD)); in isCapturedVar()
190 if (C.capturesVariable() || C.capturesVariableByCopy()) { in OMPSimdLexicalScope()
293 assert(CurCap->capturesVariable() && "Expected capture by reference."); in GenerateOpenMPCapturedVars()
410 if (I->capturesVariable() || I->capturesVariableByCopy()) { in emitOutlinedFunctionPrologue()
505 } else if (I->capturesVariable()) { in emitOutlinedFunctionPrologue()
H A DCGOpenMPRuntime.cpp349 if (!C.capturesVariable() && !C.capturesVariableByCopy()) in CGOpenMPInnerExprInfo()
7258 assert(Cap.capturesVariable() && "Expected capture by reference only!"); in getMapModifiersForPrivateClauses()
7891 assert(CI.capturesVariable() && "Expected captured reference."); in generateDefaultMapInfo()
8437 if (CI->capturesVariable()) in emitTargetCall()
H A DCodeGenFunction.h358 else if (I->capturesVariable())
H A DCGDebugInfo.cpp1277 if (C.capturesVariable()) { in CollectRecordLambdaFields()
H A DCGExpr.cpp2466 (BD && BD->capturesVariable(VD))))) { in EmitDeclRefLValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOpenMP.cpp2203 if (!Cap.capturesVariable()) in VisitSubCaptures()
2229 if (VD->hasLocalStorage() && !CS->capturesVariable(VD)) in VisitDeclRefExpr()
2240 if (VD->hasGlobalStorage() && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
H A DSemaChecking.cpp12712 if (block->getBlockDecl()->capturesVariable(Variable)) in VisitBlockExpr()
12770 if (!block || !block->getBlockDecl()->capturesVariable(owner.Variable)) in findCapturingExpr()
H A DTreeTransform.h11142 assert(C->capturesVariable() && "unexpected kind of lambda capture"); in TransformLambdaExpr()
H A DSemaDecl.cpp12827 if (C.capturesVariable()) { in RebuildLambdaScopeInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTWriter.cpp6111 Capture.capturesVariable() ? Capture.getCapturedVar() : nullptr; in AddCXXDefinitionData()