| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 560 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation() local 561 for (unsigned i = 0, e = EWC->getNumObjects(); i != e; ++i) { in BuildScopeInformation() 562 if (auto *BDecl = EWC->getObject(i).dyn_cast<BlockDecl *>()) in BuildScopeInformation() 567 else if (auto *CLE = EWC->getObject(i).dyn_cast<CompoundLiteralExpr *>()) in BuildScopeInformation()
|
| H A D | SemaStmt.cpp | 656 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) { in checkMustTailAttr() local 657 if (EWC->cleanupsHaveSideEffects()) { in checkMustTailAttr()
|
| H A D | SemaOverload.cpp | 289 if (auto *EWC = dyn_cast<ExprWithCleanups>(Converted)) { in IgnoreNarrowingConversion() local 291 const_cast<Expr *>(IgnoreNarrowingConversion(Ctx, EWC->getSubExpr())); in IgnoreNarrowingConversion() 292 return ExprWithCleanups::Create(Ctx, Inner, EWC->cleanupsHaveSideEffects(), in IgnoreNarrowingConversion() 293 EWC->getObjects()); in IgnoreNarrowingConversion()
|
| H A D | SemaOpenMP.cpp | 12773 if (auto *EWC = dyn_cast<ExprWithCleanups>(Body)) in ActOnOpenMPAtomicDirective() local 12774 Body = EWC->getSubExpr(); in ActOnOpenMPAtomicDirective() 13029 if (auto *EWC = dyn_cast<ExprWithCleanups>(First)) in ActOnOpenMPAtomicDirective() local 13030 First = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective() 13031 if (auto *EWC = dyn_cast<ExprWithCleanups>(Second)) in ActOnOpenMPAtomicDirective() local 13032 Second = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
|
| H A D | SemaDecl.cpp | 13175 if (auto *EWC = dyn_cast<ExprWithCleanups>(Init)) in checkNonTrivialCUnionInInitializer() local 13176 Init = EWC->getSubExpr(); in checkNonTrivialCUnionInInitializer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowAnalysisContext.cpp | 367 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes() local 368 Current = EWC->getSubExpr(); in ignoreCFGOmittedNodes()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 1492 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument 1494 EWC->cleanupsHaveSideEffects()); in VisitExprWithCleanups() 1495 if (EWC->getNumObjects()) { in VisitExprWithCleanups() 1496 JOS.attributeArray("cleanups", [this, EWC] { in VisitExprWithCleanups() 1497 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
|
| H A D | Expr.cpp | 3277 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer() local 3278 return EWC->getSubExpr()->isConstantInitializer(Ctx, true, Culprit); in isConstantInitializer()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 561 if (auto *EWC = llvm::dyn_cast_if_present<ExprWithCleanups>(E)) in RuntimeInterfaceBuilder() local 562 E = EWC->getSubExpr(); in RuntimeInterfaceBuilder()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | JSONNodeDumper.h | 305 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 1057 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral() local 1058 if (EWC) in EmitBlockLiteral() 1059 for (auto &C : EWC->getObjects()) in EmitBlockLiteral()
|
| H A D | CGDecl.cpp | 808 if (auto *EWC = dyn_cast<ExprWithCleanups>(init)) { in EmitScalarInit() local 810 return EmitScalarInit(EWC->getSubExpr(), D, lvalue, capturedByInit); in EmitScalarInit()
|
| H A D | CGStmt.cpp | 1337 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV)) in EmitReturnStmt() local 1338 RV = EWC->getSubExpr(); in EmitReturnStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 2127 if (auto *EWC = dyn_cast<ExprWithCleanups>(E)) in VisitDeclStmt() local 2128 E = EWC->getSubExpr()->IgnoreParens(); in VisitDeclStmt()
|
| H A D | CFG.cpp | 1776 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local 1777 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()
|