Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DExprCXX.cpp997 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1010 ExprWithCleanups *ExprWithCleanups::Create(ASTContext &C, Expr *subexpr, in Create()
1012 size_t size = sizeof(ExprWithCleanups) in Create()
1014 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1015 return new (buffer) ExprWithCleanups(subexpr, objects); in Create()
1018 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1023 ExprWithCleanups *ExprWithCleanups::Create(ASTContext &C, EmptyShell empty, in Create()
1025 size_t size = sizeof(ExprWithCleanups) + numObjects * sizeof(CleanupObject); in Create()
1026 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1027 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
DStmt.cpp102 if (ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(s)) in IgnoreImplicit()
DDeclPrinter.cpp511 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in VisitFunctionDecl()
DDecl.cpp1839 if (const ExprWithCleanups *Cleanups = dyn_cast<ExprWithCleanups>(E)) in extendsLifetimeOfTemporary()
1910 if (ExprWithCleanups *E = dyn_cast_or_null<ExprWithCleanups>(Arg)) in getDefaultArg()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp262 isa<ExprWithCleanups>(OuterS))); in getPreviousAndNextStmt()
385 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec)) in checkForGCDOrXPC()
DTransAutoreleasePool.cpp406 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) in getEssential()
DTransforms.cpp80 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(E)) in isPlusOne()
DTransUnbridgedCasts.cpp369 } while (parent && isa<ExprWithCleanups>(parent)); in transformObjCToNonObjCCast()
/external/clang/test/Misc/
Dast-dump-stmt.m14 // CHECK: ExprWithCleanups
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp154 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
DLLVMConventionsChecker.cpp158 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
DDeadStoresChecker.cpp323 while (const ExprWithCleanups *exprClean = in observeStmt()
324 dyn_cast<ExprWithCleanups>(E)) in observeStmt()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp171 const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init); in GetDiagForGotoScopeDecl()
469 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(SubStmt)) { in BuildScopeInformation()
DSemaLambda.cpp340 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
DSemaStmt.cpp187 if (const ExprWithCleanups *Temps = dyn_cast<ExprWithCleanups>(E)) in DiagnoseUnusedExprResult()
546 if (ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(expr)) in GetTypeBeforeIntegralPromotion()
/external/clang/lib/Analysis/
DLiveVariables.cpp250 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) { in LookThroughStmt()
329 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
DCFG.cpp376 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E, AddStmtChoice asc);
745 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
749 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
761 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
778 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
1085 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), asc); in Visit()
1661 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
1665 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
1682 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
3017 CFGBlock *CFGBuilder::VisitExprWithCleanups(ExprWithCleanups *E, in VisitExprWithCleanups()
DThreadSafety.cpp444 } else if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Exp)) { in buildSExpr()
1626 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) { in getTrylockCallExpr()
2132 if (ExprWithCleanups *EWC = dyn_cast_or_null<ExprWithCleanups>(E)) in VisitDeclStmt()
/external/clang/lib/StaticAnalyzer/Core/
DEnvironment.cpp32 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
DBugReporterVisitors.cpp784 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) in trackNullOrUndefValue()
/external/clang/include/clang/Basic/
DStmtNodes.td122 def ExprWithCleanups : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGExprAgg.cpp176 void VisitExprWithCleanups(ExprWithCleanups *E);
1030 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
1544 const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(init); in MaybeEmitStdInitializerListCleanup()
DCGObjC.cpp747 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1048 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
2501 assert(!isa<ExprWithCleanups>(e)); in tryEmitARCRetainScalarExpr()
2654 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
2670 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
/external/clang/include/clang/AST/
DExprCXX.h2726 class ExprWithCleanups : public Expr {
2737 ExprWithCleanups(EmptyShell, unsigned NumObjects);
2738 ExprWithCleanups(Expr *SubExpr, ArrayRef<CleanupObject> Objects);
2749 static ExprWithCleanups *Create(ASTContext &C, EmptyShell empty,
2752 static ExprWithCleanups *Create(ASTContext &C, Expr *subexpr,
/external/v8/tools/gcmole/
Dgcmole.cc569 VISIT(ExprWithCleanups); in VisitExpr()
719 DECL_VISIT_EXPR(ExprWithCleanups) { in DECL_VISIT_EXPR() argument

123