Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-stmt.m23 // CHECK: ExprWithCleanups
56 // CHECK: ExprWithCleanups
H A Dast-dump-objc-arc-json.m11 // CHECK: "kind": "ExprWithCleanups",
H A Dast-dump-decl.mm66 // CHECK: ExprWithCleanups {{.*}} <line:[[@LINE-1]]:5, col:24> 'void'
H A Dast-dump-stmt-json.m99 // CHECK-NEXT: "kind": "ExprWithCleanups",
332 // CHECK-NEXT: "kind": "ExprWithCleanups",
/llvm-project-15.0.7/clang/test/Import/objc-arc/
H A Dtest-cleanup-object.m5 // CHECK: ExprWithCleanups
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dblock-cleanup.mm6 // CHECK-NEXT: -ExprWithCleanups
/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp1297 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 DParentMapContext.cpp221 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dlive-variables.m17 // 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 DUndelegatedConstructorCheck.cpp25 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 DImplicitConversionInLoopCheck.cpp73 if (const auto *Cleanup = dyn_cast<ExprWithCleanups>(Init)) in check()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DASTImporter.h315 llvm::Expected<ExprWithCleanups::CleanupObject>
316 Import(ExprWithCleanups::CleanupObject From);
H A DTextNodeDumper.h204 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
286 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DJSONNodeDumper.h291 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
H A DExprCXX.h3359 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 DLLVMConventionsChecker.cpp159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DStackAddrEscapeChecker.cpp277 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DRedundantStringInitCheck.cpp38 if (const auto *CleanUpExpr = dyn_cast<ExprWithCleanups>(InitExpr)) in getConstructExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp46 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp572 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 DUseAutoCheck.cpp293 if (const auto *E = dyn_cast<ExprWithCleanups>(ExprInit)) in replaceIterators()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjC.cpp1078 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 DJumpDiagnostics.cpp556 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaConcept.cpp75 } 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 DDataflowAnalysisContext.cpp345 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()

123