| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-stmt.m | 23 // CHECK: ExprWithCleanups 56 // CHECK: ExprWithCleanups
|
| H A D | ast-dump-objc-arc-json.m | 11 // CHECK: "kind": "ExprWithCleanups",
|
| H A D | ast-dump-decl.mm | 66 // CHECK: ExprWithCleanups {{.*}} <line:[[@LINE-1]]:5, col:24> 'void'
|
| H A D | ast-dump-stmt-json.m | 99 // CHECK-NEXT: "kind": "ExprWithCleanups", 332 // CHECK-NEXT: "kind": "ExprWithCleanups",
|
| /llvm-project-15.0.7/clang/test/Import/objc-arc/ |
| H A D | test-cleanup-object.m | 5 // CHECK: ExprWithCleanups
|
| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | block-cleanup.mm | 6 // CHECK-NEXT: -ExprWithCleanups
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ExprCXX.cpp | 1297 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups 1307 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create() 1311 alignof(ExprWithCleanups)); in Create() 1313 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create() 1316 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups 1321 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create() 1325 alignof(ExprWithCleanups)); in Create() 1326 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
|
| H A D | ParentMapContext.cpp | 221 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | live-variables.m | 17 // Note, due to ObjC method call, the outermost logical operator is wrapped in ExprWithCleanups.
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | UndelegatedConstructorCheck.cpp | 25 if (const auto *EWC = dyn_cast<ExprWithCleanups>(E)) in AST_MATCHER_P()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | ImplicitConversionInLoopCheck.cpp | 73 if (const auto *Cleanup = dyn_cast<ExprWithCleanups>(Init)) in check()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | ASTImporter.h | 315 llvm::Expected<ExprWithCleanups::CleanupObject> 316 Import(ExprWithCleanups::CleanupObject From);
|
| H A D | TextNodeDumper.h | 204 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C); 286 void VisitExprWithCleanups(const ExprWithCleanups *Node);
|
| H A D | JSONNodeDumper.h | 291 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
|
| H A D | ExprCXX.h | 3359 class ExprWithCleanups final 3362 ExprWithCleanups, 3375 ExprWithCleanups(EmptyShell, unsigned NumObjects); 3376 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects, 3380 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty, 3383 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | LLVMConventionsChecker.cpp | 159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
|
| H A D | StackAddrEscapeChecker.cpp | 277 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantStringInitCheck.cpp | 38 if (const auto *CleanUpExpr = dyn_cast<ExprWithCleanups>(InitExpr)) in getConstructExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | Environment.cpp | 46 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | CFG.cpp | 572 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E, 1399 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts() 1648 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer() 1653 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer() 1673 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer() 1703 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType() 2188 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit() 2925 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr() 2930 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr() 2969 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseAutoCheck.cpp | 293 if (const auto *E = dyn_cast<ExprWithCleanups>(ExprInit)) in replaceIterators()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjC.cpp | 1078 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr() 1390 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr() 3276 assert(!isa<ExprWithCleanups>(e)); in visit() 3423 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr() 3438 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr() 3548 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 556 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
|
| H A D | SemaConcept.cpp | 75 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression() 158 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/ |
| H A D | DataflowAnalysisContext.cpp | 345 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()
|