Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DExprCXX.cpp1116 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1129 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1131 size_t size = sizeof(ExprWithCleanups) in Create()
1133 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1134 return new (buffer) ExprWithCleanups(subexpr, objects); in Create()
1137 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1142 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1145 size_t size = sizeof(ExprWithCleanups) + numObjects * sizeof(CleanupObject); in Create()
1146 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1147 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
DParentMap.cpp163 isa<ExprWithCleanups>(P))) { in isConsumedExpr()
DDeclPrinter.cpp574 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in VisitFunctionDecl()
DExprClassification.cpp320 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp252 isa<ExprWithCleanups>(OuterS))); in getPreviousAndNextStmt()
375 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec)) in checkForGCDOrXPC()
DTransAutoreleasePool.cpp406 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) in getEssential()
DTransforms.cpp82 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(E)) in isPlusOne()
DTransUnbridgedCasts.cpp377 } while (parent && isa<ExprWithCleanups>(parent)); in transformObjCToNonObjCCast()
/external/clang/test/Misc/
Dast-dump-stmt.m14 // CHECK: ExprWithCleanups
/external/clang/test/Analysis/
Dlive-variables.m17 // Note, due to ObjC method call, the outermost logical operator is wrapped in ExprWithCleanups.
/external/clang/lib/StaticAnalyzer/Checkers/
DStackAddrEscapeChecker.cpp154 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
DLLVMConventionsChecker.cpp161 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
DDeadStoresChecker.cpp329 while (const ExprWithCleanups *exprClean = in observeStmt()
330 dyn_cast<ExprWithCleanups>(E)) in observeStmt()
/external/clang/lib/Analysis/
DLiveVariables.cpp234 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) { in LookThroughStmt()
313 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
DCFG.cpp456 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E, AddStmtChoice asc);
1126 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1131 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1143 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1173 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
1373 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) in addLocalScopeForVarDecl()
1484 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), asc); in Visit()
2103 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2108 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
2125 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
DThreadSafety.cpp1343 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) { in getTrylockCallExpr()
1989 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()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp486 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(SubStmt)) { in BuildScopeInformation()
DSemaLambda.cpp602 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/external/clang/lib/CodeGen/
DCGObjC.cpp830 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1136 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
2592 assert(!isa<ExprWithCleanups>(e)); in tryEmitARCRetainScalarExpr()
2745 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
2761 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
DCGExprAgg.cpp180 void VisitExprWithCleanups(ExprWithCleanups *E);
1009 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
DCGBlocks.cpp632 void CodeGenFunction::enterNonTrivialFullExpression(const ExprWithCleanups *E) { in enterNonTrivialFullExpression()
634 ArrayRef<ExprWithCleanups::CleanupObject> cleanups = E->getObjects(); in enterNonTrivialFullExpression()
635 for (ArrayRef<ExprWithCleanups::CleanupObject>::iterator in enterNonTrivialFullExpression()
/external/clang/include/clang/Basic/
DStmtNodes.td130 def ExprWithCleanups : DStmt<Expr>;
/external/clang/include/clang/AST/
DExprCXX.h2897 class ExprWithCleanups : public Expr {
2908 ExprWithCleanups(EmptyShell, unsigned NumObjects);
2909 ExprWithCleanups(Expr *SubExpr, ArrayRef<CleanupObject> Objects);
2920 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
2923 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
/external/v8/tools/gcmole/
Dgcmole.cc564 VISIT(ExprWithCleanups); in VisitExpr()
703 DECL_VISIT_EXPR(ExprWithCleanups) { in DECL_VISIT_EXPR() argument

123