| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UndelegatedConstructorCheck.cpp | 25 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) in AST_MATCHER_P() local 26 E = EWC->getSubExpr(); in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 556 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation() local 557 for (unsigned i = 0, e = EWC->getNumObjects(); i != e; ++i) { in BuildScopeInformation() 558 if (auto *BDecl = EWC->getObject(i).dyn_cast<BlockDecl *>()) in BuildScopeInformation() 563 else if (auto *CLE = EWC->getObject(i).dyn_cast<CompoundLiteralExpr *>()) in BuildScopeInformation()
|
| H A D | SemaStmt.cpp | 655 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) { in checkMustTailAttr() local 656 if (EWC->cleanupsHaveSideEffects()) { in checkMustTailAttr()
|
| H A D | SemaOverload.cpp | 271 if (auto *EWC = dyn_cast<ExprWithCleanups>(Converted)) { in IgnoreNarrowingConversion() local 273 const_cast<Expr *>(IgnoreNarrowingConversion(Ctx, EWC->getSubExpr())); in IgnoreNarrowingConversion() 274 return ExprWithCleanups::Create(Ctx, Inner, EWC->cleanupsHaveSideEffects(), in IgnoreNarrowingConversion() 275 EWC->getObjects()); in IgnoreNarrowingConversion()
|
| H A D | SemaOpenMP.cpp | 12357 if (auto *EWC = dyn_cast<ExprWithCleanups>(Body)) in ActOnOpenMPAtomicDirective() local 12358 Body = EWC->getSubExpr(); in ActOnOpenMPAtomicDirective() 12613 if (auto *EWC = dyn_cast<ExprWithCleanups>(First)) in ActOnOpenMPAtomicDirective() local 12614 First = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective() 12615 if (auto *EWC = dyn_cast<ExprWithCleanups>(Second)) in ActOnOpenMPAtomicDirective() local 12616 Second = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
|
| H A D | SemaDecl.cpp | 12369 if (auto *EWC = dyn_cast<ExprWithCleanups>(Init)) in checkNonTrivialCUnionInInitializer() local 12370 Init = EWC->getSubExpr(); in checkNonTrivialCUnionInInitializer()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowAnalysisContext.cpp | 345 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes() local 346 Current = EWC->getSubExpr(); in ignoreCFGOmittedNodes()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 1387 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument 1389 EWC->cleanupsHaveSideEffects()); in VisitExprWithCleanups() 1390 if (EWC->getNumObjects()) { in VisitExprWithCleanups() 1391 JOS.attributeArray("cleanups", [this, EWC] { in VisitExprWithCleanups() 1392 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | JSONNodeDumper.h | 291 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 1086 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral() local 1087 if (EWC) in EmitBlockLiteral() 1088 for (auto &C : EWC->getObjects()) in EmitBlockLiteral()
|
| H A D | CGStmt.cpp | 1308 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV)) in EmitReturnStmt() local 1309 RV = EWC->getSubExpr(); in EmitReturnStmt()
|
| H A D | CGDecl.cpp | 791 if (auto *EWC = dyn_cast<ExprWithCleanups>(init)) { in EmitScalarInit() local 793 return EmitScalarInit(EWC->getSubExpr(), D, lvalue, capturedByInit); in EmitScalarInit()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 2102 if (auto *EWC = dyn_cast<ExprWithCleanups>(E)) in VisitDeclStmt() local 2103 E = EWC->getSubExpr()->IgnoreParens(); in VisitDeclStmt()
|
| H A D | CFG.cpp | 1703 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local 1704 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()
|