/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprCXX.cpp | 1423 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups 1433 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create() 1437 alignof(ExprWithCleanups)); in Create() 1439 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create() 1442 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups 1447 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create() 1451 alignof(ExprWithCleanups)); in Create() 1452 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
|
H A D | ParentMapContext.cpp | 240 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
|
H A D | ExprClassification.cpp | 372 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
|
H A D | Expr.cpp | 2974 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning() 3313 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer() 3328 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer() 3686 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects() 4874 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
|
H A D | DeclPrinter.cpp | 371 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
|
H A D | JSONNodeDumper.cpp | 1527 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups() 1532 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTImporter.h | 316 llvm::Expected<ExprWithCleanups::CleanupObject> 317 Import(ExprWithCleanups::CleanupObject From);
|
H A D | TextNodeDumper.h | 212 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C); 306 void VisitExprWithCleanups(const ExprWithCleanups *Node);
|
H A D | JSONNodeDumper.h | 308 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
|
H A D | ExprCXX.h | 3469 class ExprWithCleanups final 3472 ExprWithCleanups, 3485 ExprWithCleanups(EmptyShell, unsigned NumObjects); 3486 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects, 3490 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty, 3493 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 589 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() 2253 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit() 2989 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr() 2994 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr() 3033 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr() [all …]
|
H A D | LiveVariables.cpp | 277 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | ASTOps.cpp | 39 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()
|
H A D | Transfer.cpp | 811 void VisitExprWithCleanups(const ExprWithCleanups *S) { in VisitExprWithCleanups()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 1081 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr() 1421 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr() 3302 assert(!isa<ExprWithCleanups>(e)); in visit() 3449 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr() 3464 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr() 3574 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
|
H A D | CGExprAgg.cpp | 200 void VisitExprWithCleanups(ExprWithCleanups *E); 1403 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | JumpDiagnostics.cpp | 562 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
|
H A D | SemaConcept.cpp | 105 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression() 335 if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
|
H A D | SemaLambda.cpp | 676 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | PtrTypesSemantics.cpp | 504 bool VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | StmtNodes.td | 147 def ExprWithCleanups : StmtNode<FullExpr>;
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.h | 158 bool VisitExprWithCleanups(const ExprWithCleanups *E);
|
/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()
|
/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTReaderStmt.cpp | 1968 void ASTStmtReader::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups() 1975 ExprWithCleanups::CleanupObject Obj; in VisitExprWithCleanups() 1982 E->getTrailingObjects<ExprWithCleanups::CleanupObject>()[i] = Obj; in VisitExprWithCleanups() 4094 S = ExprWithCleanups::Create(Context, Empty, in ReadStmtFromStream()
|