Home
last modified time | relevance | path

Searched refs:Cleanups (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/inlining/
H A Dfalse-positive-suppression.cpp177 namespace Cleanups { namespace
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp470 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo() local
471 if (!Cleanups->cleanupsHaveSideEffects()) in findInfo()
472 E = Cleanups->getSubExpr(); in findInfo()
477 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo() local
478 if (!Cleanups->cleanupsHaveSideEffects()) in findInfo()
479 E = Cleanups->getSubExpr(); in findInfo()
H A DCFG.cpp1399 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts() local
1400 findConstructionContexts(Layer, Cleanups->getSubExpr()); in findConstructionContexts()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprAgg.cpp1336 SmallVector<EHScopeStack::stable_iterator, 16> Cleanups; in VisitLambdaExpr() local
1365 Cleanups.push_back(CGF.EHStack.stable_begin()); in VisitLambdaExpr()
1372 for (unsigned i = Cleanups.size(); i != 0; --i) in VisitLambdaExpr()
1373 CGF.DeactivateCleanupBlock(Cleanups[i-1], CleanupDominator); in VisitLambdaExpr()
H A DMicrosoftCXXABI.cpp4142 CodeGenFunction::RunCleanupsScope Cleanups(CGF); in getAddrOfCXXCtorClosure() local
4161 Cleanups.ForceCleanup(); in getAddrOfCXXCtorClosure()
H A DCGStmt.cpp2321 CodeGenFunction::RunCleanupsScope Cleanups(*this); in EmitAsmStmt() local
H A DCGCall.cpp3899 ArrayRef<CallArgList::CallArgCleanup> Cleanups = in deactivateArgCleanupsBeforeCall() local
3902 for (const auto &I : llvm::reverse(Cleanups)) { in deactivateArgCleanupsBeforeCall()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp1948 if (auto Cleanups = dyn_cast<ExprWithCleanups>(Statement)) in ProcessIterationStmt() local
1949 if (!Cleanups->cleanupsHaveSideEffects()) in ProcessIterationStmt()
1950 Statement = Cleanups->getSubExpr(); in ProcessIterationStmt()
3087 if (auto Cleanups = dyn_cast<ExprWithCleanups>(InitExpr)) in DiagnoseForRangeReferenceVariableCopies() local
3088 if (!Cleanups->cleanupsHaveSideEffects()) in DiagnoseForRangeReferenceVariableCopies()
3089 InitExpr = Cleanups->getSubExpr(); in DiagnoseForRangeReferenceVariableCopies()
H A DSemaExprCXX.cpp7313 auto Cleanups = llvm::makeArrayRef(ExprCleanupObjects.begin() + FirstCleanup, in MaybeCreateExprWithCleanups() local
7317 Context, SubExpr, Cleanup.cleanupsHaveSideEffects(), Cleanups); in MaybeCreateExprWithCleanups()
H A DSemaDecl.cpp1982 if (const auto *Cleanups = dyn_cast_or_null<ExprWithCleanups>(Init)) in ShouldDiagnoseUnusedDecl() local
1983 Init = Cleanups->getSubExpr(); in ShouldDiagnoseUnusedDecl()
/llvm-project-15.0.7/llvm/docs/
H A DExceptionHandling.rst254 Cleanups section in LLVM Code Generation