Searched refs:Cleanups (Results 1 – 11 of 11) sorted by relevance
177 namespace Cleanups { namespace
470 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo() local471 if (!Cleanups->cleanupsHaveSideEffects()) in findInfo()472 E = Cleanups->getSubExpr(); in findInfo()477 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo() local478 if (!Cleanups->cleanupsHaveSideEffects()) in findInfo()479 E = Cleanups->getSubExpr(); in findInfo()
1399 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts() local1400 findConstructionContexts(Layer, Cleanups->getSubExpr()); in findConstructionContexts()
1336 SmallVector<EHScopeStack::stable_iterator, 16> Cleanups; in VisitLambdaExpr() local1365 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()
4142 CodeGenFunction::RunCleanupsScope Cleanups(CGF); in getAddrOfCXXCtorClosure() local4161 Cleanups.ForceCleanup(); in getAddrOfCXXCtorClosure()
2321 CodeGenFunction::RunCleanupsScope Cleanups(*this); in EmitAsmStmt() local
3899 ArrayRef<CallArgList::CallArgCleanup> Cleanups = in deactivateArgCleanupsBeforeCall() local3902 for (const auto &I : llvm::reverse(Cleanups)) { in deactivateArgCleanupsBeforeCall()
1948 if (auto Cleanups = dyn_cast<ExprWithCleanups>(Statement)) in ProcessIterationStmt() local1949 if (!Cleanups->cleanupsHaveSideEffects()) in ProcessIterationStmt()1950 Statement = Cleanups->getSubExpr(); in ProcessIterationStmt()3087 if (auto Cleanups = dyn_cast<ExprWithCleanups>(InitExpr)) in DiagnoseForRangeReferenceVariableCopies() local3088 if (!Cleanups->cleanupsHaveSideEffects()) in DiagnoseForRangeReferenceVariableCopies()3089 InitExpr = Cleanups->getSubExpr(); in DiagnoseForRangeReferenceVariableCopies()
7313 auto Cleanups = llvm::makeArrayRef(ExprCleanupObjects.begin() + FirstCleanup, in MaybeCreateExprWithCleanups() local7317 Context, SubExpr, Cleanup.cleanupsHaveSideEffects(), Cleanups); in MaybeCreateExprWithCleanups()
1982 if (const auto *Cleanups = dyn_cast_or_null<ExprWithCleanups>(Init)) in ShouldDiagnoseUnusedDecl() local1983 Init = Cleanups->getSubExpr(); in ShouldDiagnoseUnusedDecl()
254 Cleanups section in LLVM Code Generation