Home
last modified time | relevance | path

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

123

/minix3/external/bsd/llvm/dist/clang/lib/AST/
H A DExprCXX.cpp1111 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1124 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1126 size_t size = sizeof(ExprWithCleanups) in Create()
1128 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1129 return new (buffer) ExprWithCleanups(subexpr, objects); in Create()
1132 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1137 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1140 size_t size = sizeof(ExprWithCleanups) + numObjects * sizeof(CleanupObject); in Create()
1141 void *buffer = C.Allocate(size, llvm::alignOf<ExprWithCleanups>()); in Create()
1142 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMap.cpp163 isa<ExprWithCleanups>(P))) { in isConsumedExpr()
H A DDeclPrinter.cpp532 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in VisitFunctionDecl()
H A DExprClassification.cpp315 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
/minix3/external/bsd/llvm/dist/clang/test/Analysis/
H A Dlive-variables.m17 // Note, due to ObjC method call, the outermost logical operator is wrapped in ExprWithCleanups.
/minix3/external/bsd/llvm/dist/clang/test/Misc/
H A Dast-dump-stmt.m14 // CHECK: ExprWithCleanups
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp154 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
H A DLLVMConventionsChecker.cpp162 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DDeadStoresChecker.cpp329 while (const ExprWithCleanups *exprClean = in observeStmt()
330 dyn_cast<ExprWithCleanups>(E)) in observeStmt()
/minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp262 isa<ExprWithCleanups>(OuterS))); in getPreviousAndNextStmt()
385 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Rec)) in checkForGCDOrXPC()
H A DTransAutoreleasePool.cpp406 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) in getEssential()
H A DTransforms.cpp80 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(E)) in isPlusOne()
H A DTransUnbridgedCasts.cpp377 } while (parent && isa<ExprWithCleanups>(parent)); in transformObjCToNonObjCCast()
/minix3/external/bsd/llvm/dist/clang/lib/Analysis/
H A DLiveVariables.cpp234 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(S)) { in LookThroughStmt()
313 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
H A DCFG.cpp385 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E, AddStmtChoice asc);
1079 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1084 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1096 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1113 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
1316 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) in addLocalScopeForVarDecl()
1427 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), asc); in Visit()
2038 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2043 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
2060 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
H A DThreadSafety.cpp1158 else if (const ExprWithCleanups* EWC = dyn_cast<ExprWithCleanups>(Cond)) { in getTrylockCallExpr()
1787 if (ExprWithCleanups *EWC = dyn_cast_or_null<ExprWithCleanups>(E)) in VisitDeclStmt()
/minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp32 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
H A DBugReporterVisitors.cpp862 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Ex)) in peelOffOuterExpr()
/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DJumpDiagnostics.cpp451 if (ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(SubStmt)) { in BuildScopeInformation()
H A DSemaLambda.cpp602 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/minix3/external/bsd/llvm/dist/clang/include/clang/Basic/
H A DStmtNodes.td123 def ExprWithCleanups : DStmt<Expr>;
/minix3/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGObjC.cpp773 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1077 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
2556 assert(!isa<ExprWithCleanups>(e)); in tryEmitARCRetainScalarExpr()
2709 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
2725 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
H A DCGExprAgg.cpp172 void VisitExprWithCleanups(ExprWithCleanups *E);
990 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
H A DCGBlocks.cpp647 void CodeGenFunction::enterNonTrivialFullExpression(const ExprWithCleanups *E) { in enterNonTrivialFullExpression()
649 ArrayRef<ExprWithCleanups::CleanupObject> cleanups = E->getObjects(); in enterNonTrivialFullExpression()
650 for (ArrayRef<ExprWithCleanups::CleanupObject>::iterator in enterNonTrivialFullExpression()
/minix3/external/bsd/llvm/dist/clang/include/clang/AST/
H A DExprCXX.h2753 class ExprWithCleanups : public Expr {
2764 ExprWithCleanups(EmptyShell, unsigned NumObjects);
2765 ExprWithCleanups(Expr *SubExpr, ArrayRef<CleanupObject> Objects);
2776 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
2779 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,

123