Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DExprCXX.cpp1022 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1035 ExprWithCleanups *ExprWithCleanups::Create(ASTContext &C, Expr *subexpr, in Create()
1037 size_t size = sizeof(ExprWithCleanups) in Create()
1039 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1040 return new (buffer) ExprWithCleanups(subexpr, objects); in Create()
1043 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1048 ExprWithCleanups *ExprWithCleanups::Create(ASTContext &C, EmptyShell empty, in Create()
1050 size_t size = sizeof(ExprWithCleanups) + numObjects * sizeof(CleanupObject); in Create()
1051 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1052 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
DParentMap.cpp163 isa<ExprWithCleanups>(P))) { in isConsumedExpr()
DDeclPrinter.cpp516 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in VisitFunctionDecl()
DStmt.cpp103 if (ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(s)) in IgnoreImplicit()
DExprClassification.cpp314 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
/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.cpp328 while (const ExprWithCleanups *exprClean = in observeStmt()
329 dyn_cast<ExprWithCleanups>(E)) in observeStmt()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp171 const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init); in GetDiagForGotoScopeDecl()
474 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(SubStmt)) { in BuildScopeInformation()
DSemaLambda.cpp345 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/external/clang/lib/Analysis/
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()
987 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) in addLocalScopeForVarDecl()
1098 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), asc); in Visit()
1687 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
1691 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
1708 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
DLiveVariables.cpp250 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) { in LookThroughStmt()
329 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
DThreadSafety.cpp444 } else if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Exp)) { in buildSExpr()
1639 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) { in getTrylockCallExpr()
2165 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.cpp865 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex)) in peelOffOuterExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td125 def ExprWithCleanups : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGObjC.cpp775 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1076 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
2548 assert(!isa<ExprWithCleanups>(e)); in tryEmitARCRetainScalarExpr()
2701 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
2717 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
/external/clang/include/clang/AST/
DExprCXX.h2927 class ExprWithCleanups : public Expr {
2938 ExprWithCleanups(EmptyShell, unsigned NumObjects);
2939 ExprWithCleanups(Expr *SubExpr, ArrayRef<CleanupObject> Objects);
2950 static ExprWithCleanups *Create(ASTContext &C, EmptyShell empty,
2953 static ExprWithCleanups *Create(ASTContext &C, Expr *subexpr,
/external/chromium_org/v8/tools/gcmole/
Dgcmole.cc569 VISIT(ExprWithCleanups); in VisitExpr()
717 DECL_VISIT_EXPR(ExprWithCleanups) { in DECL_VISIT_EXPR() argument
/external/v8/tools/gcmole/
Dgcmole.cc569 VISIT(ExprWithCleanups); in VisitExpr()
719 DECL_VISIT_EXPR(ExprWithCleanups) { in DECL_VISIT_EXPR() argument

123