Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprCXX.cpp1291 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1301 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1305 alignof(ExprWithCleanups)); in Create()
1307 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1310 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1315 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1319 alignof(ExprWithCleanups)); in Create()
1320 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMapContext.cpp221 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprClassification.cpp350 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DDeclPrinter.cpp329 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
H A DJSONNodeDumper.cpp1335 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
1340 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
H A DExpr.cpp2760 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3110 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer()
3436 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4517 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DTextNodeDumper.cpp676 const ExprWithCleanups::CleanupObject &C) { in dumpCleanupObject()
1222 void TextNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *Node) { in VisitExprWithCleanups()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DStackAddrEscapeChecker.cpp277 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTImporter.h343 llvm::Expected<ExprWithCleanups::CleanupObject>
344 Import(ExprWithCleanups::CleanupObject From);
H A DTextNodeDumper.h201 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
281 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DExprCXX.h3342 class ExprWithCleanups final
3345 ExprWithCleanups,
3358 ExprWithCleanups(EmptyShell, unsigned NumObjects);
3359 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
3363 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
3366 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
H A DJSONNodeDumper.h287 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DCFG.cpp571 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E,
1395 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1637 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1642 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1658 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1688 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2185 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit()
2888 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2893 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
2914 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
H A DConsumed.cpp470 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
477 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
H A DLiveVariables.cpp271 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp46 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjC.cpp1075 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1389 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3274 assert(!isa<ExprWithCleanups>(e)); in visit()
3420 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3435 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3545 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
H A DCGExprAgg.cpp190 void VisitExprWithCleanups(ExprWithCleanups *E);
1373 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
H A DCGExprCXX.cpp658 if (const ExprWithCleanups *E = dyn_cast<ExprWithCleanups>(Exp)) in EmitSynthesizedCXXCopyCtor()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DJumpDiagnostics.cpp551 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaConcept.cpp72 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression()
155 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
H A DSemaLambda.cpp681 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DStmtNodes.td146 def ExprWithCleanups : StmtNode<FullExpr>;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderStmt.cpp1922 void ASTStmtReader::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
1929 ExprWithCleanups::CleanupObject Obj; in VisitExprWithCleanups()
1936 E->getTrailingObjects<ExprWithCleanups::CleanupObject>()[i] = Obj; in VisitExprWithCleanups()
3691 S = ExprWithCleanups::Create(Context, Empty, in ReadStmtFromStream()

123