/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 39 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes() local 40 Current = EWC->getSubExpr(); in ignoreCFGOmittedNodes()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 562 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation() local 563 for (unsigned i = 0, e = EWC->getNumObjects(); i != e; ++i) { in BuildScopeInformation() 564 if (auto *BDecl = EWC->getObject(i).dyn_cast<BlockDecl *>()) in BuildScopeInformation() 569 else if (auto *CLE = EWC->getObject(i).dyn_cast<CompoundLiteralExpr *>()) in BuildScopeInformation()
|
H A D | SemaStmt.cpp | 679 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) { in checkMustTailAttr() local 680 if (EWC->cleanupsHaveSideEffects()) { in checkMustTailAttr()
|
H A D | SemaOverload.cpp | 322 if (auto *EWC = dyn_cast<ExprWithCleanups>(Converted)) { in IgnoreNarrowingConversion() local 324 const_cast<Expr *>(IgnoreNarrowingConversion(Ctx, EWC->getSubExpr())); in IgnoreNarrowingConversion() 325 return ExprWithCleanups::Create(Ctx, Inner, EWC->cleanupsHaveSideEffects(), in IgnoreNarrowingConversion() 326 EWC->getObjects()); in IgnoreNarrowingConversion()
|
H A D | SemaOpenMP.cpp | 12441 if (auto *EWC = dyn_cast<ExprWithCleanups>(Body)) in ActOnOpenMPAtomicDirective() local 12442 Body = EWC->getSubExpr(); in ActOnOpenMPAtomicDirective() 12697 if (auto *EWC = dyn_cast<ExprWithCleanups>(First)) in ActOnOpenMPAtomicDirective() local 12698 First = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective() 12699 if (auto *EWC = dyn_cast<ExprWithCleanups>(Second)) in ActOnOpenMPAtomicDirective() local 12700 Second = EWC->getSubExpr()->IgnoreParenImpCasts(); in ActOnOpenMPAtomicDirective()
|
H A D | SemaDecl.cpp | 12975 if (auto *EWC = dyn_cast<ExprWithCleanups>(Init)) in checkNonTrivialCUnionInInitializer() local 12976 Init = EWC->getSubExpr(); in checkNonTrivialCUnionInInitializer()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | PtrTypesSemantics.cpp | 504 bool VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument 505 return Visit(EWC->getSubExpr()); in VisitExprWithCleanups()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | JSONNodeDumper.cpp | 1527 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument 1529 EWC->cleanupsHaveSideEffects()); in VisitExprWithCleanups() 1530 if (EWC->getNumObjects()) { in VisitExprWithCleanups() 1531 JOS.attributeArray("cleanups", [this, EWC] { in VisitExprWithCleanups() 1532 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
|
H A D | Expr.cpp | 3313 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer() local 3314 return EWC->getSubExpr()->isConstantInitializer(Ctx, true, Culprit); in isConstantInitializer()
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Interpreter.cpp | 730 if (auto *EWC = llvm::dyn_cast_if_present<ExprWithCleanups>(E)) in transformForValuePrinting() local 731 E = EWC->getSubExpr(); in transformForValuePrinting()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | JSONNodeDumper.h | 308 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.cpp | 1067 auto *EWC = llvm::dyn_cast_or_null<ExprWithCleanups>(RetExpr); in EmitBlockLiteral() local 1068 if (EWC) in EmitBlockLiteral() 1069 for (auto &C : EWC->getObjects()) in EmitBlockLiteral()
|
H A D | CGDecl.cpp | 811 if (auto *EWC = dyn_cast<ExprWithCleanups>(init)) { in EmitScalarInit() local 813 return EmitScalarInit(EWC->getSubExpr(), D, lvalue, capturedByInit); in EmitScalarInit()
|
H A D | CGStmt.cpp | 1499 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV)) in EmitReturnStmt() local 1500 RV = EWC->getSubExpr(); in EmitReturnStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 1776 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local 1777 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()
|