Home
last modified time | relevance | path

Searched refs:ExprWithCleanups (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1373 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1383 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1387 alignof(ExprWithCleanups)); in Create()
1389 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1392 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1397 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1401 alignof(ExprWithCleanups)); in Create()
1402 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMapContext.cpp221 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprClassification.cpp359 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DExpr.cpp2938 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3277 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer()
3292 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer()
3624 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4783 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DDeclPrinter.cpp417 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
H A DJSONNodeDumper.cpp1492 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
1497 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DStackAddrEscapeChecker.cpp274 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h316 llvm::Expected<ExprWithCleanups::CleanupObject>
317 Import(ExprWithCleanups::CleanupObject From);
H A DTextNodeDumper.h206 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
295 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DJSONNodeDumper.h305 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
H A DExprCXX.h3432 class ExprWithCleanups final
3435 ExprWithCleanups,
3448 ExprWithCleanups(EmptyShell, unsigned NumObjects);
3449 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
3453 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
3456 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp49 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp589 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E,
1480 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1720 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1725 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1746 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1776 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2256 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit()
2992 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2997 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
3036 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
H A DConsumed.cpp470 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
477 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
H A DLiveVariables.cpp277 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1077 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1417 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3304 assert(!isa<ExprWithCleanups>(e)); in visit()
3451 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3466 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3576 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp560 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaConcept.cpp104 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression()
241 if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
H A DSemaLambda.cpp634 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp367 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()
H A DTransfer.cpp749 void VisitExprWithCleanups(const ExprWithCleanups *S) { in VisitExprWithCleanups()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.h96 bool VisitExprWithCleanups(const ExprWithCleanups *E);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td147 def ExprWithCleanups : StmtNode<FullExpr>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp561 if (auto *EWC = llvm::dyn_cast_if_present<ExprWithCleanups>(E)) in RuntimeInterfaceBuilder()

123