Home
last modified time | relevance | path

Searched refs:EWC (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp39 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 DJumpDiagnostics.cpp562 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 DSemaStmt.cpp679 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) { in checkMustTailAttr() local
680 if (EWC->cleanupsHaveSideEffects()) { in checkMustTailAttr()
H A DSemaOverload.cpp322 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 DSemaOpenMP.cpp12441 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 DSemaDecl.cpp12975 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 DPtrTypesSemantics.cpp504 bool VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() argument
505 return Visit(EWC->getSubExpr()); in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DJSONNodeDumper.cpp1527 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 DExpr.cpp3313 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 DInterpreter.cpp730 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 DJSONNodeDumper.h308 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp1067 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 DCGDecl.cpp811 if (auto *EWC = dyn_cast<ExprWithCleanups>(init)) { in EmitScalarInit() local
813 return EmitScalarInit(EWC->getSubExpr(), D, lvalue, capturedByInit); in EmitScalarInit()
H A DCGStmt.cpp1499 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 DCFG.cpp1776 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() local
1777 Init = EWC->getSubExpr(); in getReferenceInitTemporaryType()