Home
last modified time | relevance | path

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

123

/external/clang/lib/AST/
DExprCXX.cpp1102 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1115 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1117 size_t size = sizeof(ExprWithCleanups) in Create()
1119 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1120 return new (buffer) ExprWithCleanups(subexpr, objects); in Create()
1123 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1128 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1131 size_t size = sizeof(ExprWithCleanups) + numObjects * sizeof(CleanupObject); in Create()
1132 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1133 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
DParentMap.cpp163 isa<ExprWithCleanups>(P))) { in isConsumedExpr()
DDeclPrinter.cpp517 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in VisitFunctionDecl()
DExprClassification.cpp313 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
/external/clang/test/Analysis/
Dlive-variables.m17 // Note, due to ObjC method call, the outermost logical operator is wrapped in ExprWithCleanups.
/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.cpp162 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/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.cpp377 } while (parent && isa<ExprWithCleanups>(parent)); in transformObjCToNonObjCCast()
/external/clang/lib/Analysis/
DLiveVariables.cpp235 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) { in LookThroughStmt()
314 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
DCFG.cpp379 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E, AddStmtChoice asc);
1012 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1016 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1028 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1045 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
1248 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) in addLocalScopeForVarDecl()
1359 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), asc); in Visit()
1972 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
1976 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
1993 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
DThreadSafety.cpp439 } else if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Exp)) { in buildSExpr()
1690 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) { in getTrylockCallExpr()
2218 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.cpp450 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(SubStmt)) { in BuildScopeInformation()
DSemaLambda.cpp602 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/external/clang/include/clang/Basic/
DStmtNodes.td123 def ExprWithCleanups : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGObjC.cpp778 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1082 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
2563 assert(!isa<ExprWithCleanups>(e)); in tryEmitARCRetainScalarExpr()
2716 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
2732 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
DCGExprAgg.cpp172 void VisitExprWithCleanups(ExprWithCleanups *E);
990 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
DCGBlocks.cpp631 void CodeGenFunction::enterNonTrivialFullExpression(const ExprWithCleanups *E) { in enterNonTrivialFullExpression()
633 ArrayRef<ExprWithCleanups::CleanupObject> cleanups = E->getObjects(); in enterNonTrivialFullExpression()
634 for (ArrayRef<ExprWithCleanups::CleanupObject>::iterator in enterNonTrivialFullExpression()
/external/clang/include/clang/AST/
DExprCXX.h2723 class ExprWithCleanups : public Expr {
2734 ExprWithCleanups(EmptyShell, unsigned NumObjects);
2735 ExprWithCleanups(Expr *SubExpr, ArrayRef<CleanupObject> Objects);
2746 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
2749 static ExprWithCleanups *Create(const 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

123