| /freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| H A D | ASTOps.cpp | 40 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes() local 41 Current = EWC->getSubExpr(); in ignoreCFGOmittedNodes()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | InterpreterValuePrinter.cpp | 211 if (auto *EWC = llvm::dyn_cast_if_present<ExprWithCleanups>(E)) in ExtractValueFromExpr() local 212 E = EWC->getSubExpr(); in ExtractValueFromExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 561 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation() local 562 for (unsigned i = 0, e = EWC->getNumObjects(); i != e; ++i) { in BuildScopeInformation() 563 if (auto *BDecl = dyn_cast<BlockDecl *>(EWC->getObject(i))) in BuildScopeInformation() 568 else if (auto *CLE = dyn_cast<CompoundLiteralExpr *>(EWC->getObject(i))) in BuildScopeInformation()
|
| H A D | AnalysisBasedWarnings.cpp | 847 if (const auto *EWC = dyn_cast<ExprWithCleanups>(LastStmt)) { in CheckFallThroughForBody() local 848 LastStmt = EWC->getSubExpr(); in CheckFallThroughForBody()
|
| H A D | SemaStmt.cpp | 721 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) { in checkMustTailAttr() local 722 if (EWC->cleanupsHaveSideEffects()) { in checkMustTailAttr()
|
| H A D | SemaOverload.cpp | 319 if (auto *EWC = dyn_cast<ExprWithCleanups>(Converted)) { in IgnoreNarrowingConversion() local 321 const_cast<Expr *>(IgnoreNarrowingConversion(Ctx, EWC->getSubExpr())); in IgnoreNarrowingConversion() 322 return ExprWithCleanups::Create(Ctx, Inner, EWC->cleanupsHaveSideEffects(), in IgnoreNarrowingConversion() 323 EWC->getObjects()); in IgnoreNarrowingConversion()
|
| H A D | SemaOpenMP.cpp | 12548 if (auto *EWC = dyn_cast<ExprWithCleanups>(Body)) in ActOnOpenMPAtomicDirective() local 12549 Body = EWC->getSubExpr(); in ActOnOpenMPAtomicDirective() 12804 if (auto *EWC = dyn_cast<ExprWithCleanups>(First)) in ActOnOpenMPAtomicDirective() local 12805 First = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective() 12806 if (auto *EWC = dyn_cast<ExprWithCleanups>(Second)) in ActOnOpenMPAtomicDirective() local 12807 Second = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
|
| H A D | SemaDeclAttr.cpp | 1961 if (const auto *EWC = dyn_cast<ExprWithCleanups>(OnlyStmt)) { in isKnownToAlwaysThrow() local 1962 OnlyStmt = EWC->getSubExpr(); in isKnownToAlwaysThrow()
|
| H A D | SemaDecl.cpp | 13204 if (auto *EWC = dyn_cast<ExprWithCleanups>(Init)) in checkNonTrivialCUnionInInitializer() local 13205 Init = EWC->getSubExpr(); in checkNonTrivialCUnionInInitializer()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | PtrTypesSemantics.cpp | 801 bool VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument 802 return Visit(EWC->getSubExpr()); in VisitExprWithCleanups()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | JSONNodeDumper.cpp | 1541 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument 1543 EWC->cleanupsHaveSideEffects()); in VisitExprWithCleanups() 1544 if (EWC->getNumObjects()) { in VisitExprWithCleanups() 1545 JOS.attributeArray("cleanups", [this, EWC] { in VisitExprWithCleanups() 1546 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
|
| H A D | Expr.cpp | 3333 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer() local 3334 return EWC->getSubExpr()->isConstantInitializer(Ctx, true, Culprit); in isConstantInitializer()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | JSONNodeDumper.h | 312 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBlocks.cpp | 1096 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral() local 1097 if (EWC) in EmitBlockLiteral() 1098 for (auto &C : EWC->getObjects()) in EmitBlockLiteral()
|
| H A D | CGStmt.cpp | 1643 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV)) in EmitReturnStmt() local 1644 RV = EWC->getSubExpr(); in EmitReturnStmt()
|
| H A D | CGDecl.cpp | 803 if (auto *EWC = dyn_cast<ExprWithCleanups>(init)) { in EmitScalarInit() local 805 return EmitScalarInit(EWC->getSubExpr(), D, lvalue, capturedByInit); in EmitScalarInit()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 2266 if (auto *EWC = dyn_cast<ExprWithCleanups>(E)) in VisitDeclStmt() local 2267 E = EWC->getSubExpr()->IgnoreParens(); in VisitDeclStmt()
|
| H A D | CFG.cpp | 1863 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local 1864 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()
|