Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1293 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1303 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1307 alignof(ExprWithCleanups)); in Create()
1309 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1312 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1317 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1321 alignof(ExprWithCleanups)); in Create()
1322 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMapContext.cpp221 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprClassification.cpp356 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DDeclPrinter.cpp330 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
H A DJSONNodeDumper.cpp1380 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
1385 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
H A DExpr.cpp2832 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3182 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer()
3509 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4588 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DTextNodeDumper.cpp717 const ExprWithCleanups::CleanupObject &C) { in dumpCleanupObject()
1268 void TextNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *Node) { in VisitExprWithCleanups()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h343 llvm::Expected<ExprWithCleanups::CleanupObject>
344 Import(ExprWithCleanups::CleanupObject From);
H A DTextNodeDumper.h204 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
285 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DJSONNodeDumper.h291 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
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,
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp46 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp571 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E,
1395 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1644 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1649 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1665 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1695 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2192 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit()
2895 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2900 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
2921 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1076 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1390 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3280 assert(!isa<ExprWithCleanups>(e)); in visit()
3426 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3441 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3551 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
H A DCGExprAgg.cpp190 void VisitExprWithCleanups(ExprWithCleanups *E);
1377 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
H A DCGExprCXX.cpp661 if (const ExprWithCleanups *E = dyn_cast<ExprWithCleanups>(Exp)) in EmitSynthesizedCXXCopyCtor()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp551 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaConcept.cpp77 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression()
160 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
H A DSemaLambda.cpp685 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td147 def ExprWithCleanups : StmtNode<FullExpr>;
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1932 void ASTStmtReader::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
1939 ExprWithCleanups::CleanupObject Obj; in VisitExprWithCleanups()
1946 E->getTrailingObjects<ExprWithCleanups::CleanupObject>()[i] = Obj; in VisitExprWithCleanups()
3716 S = ExprWithCleanups::Create(Context, Empty, in ReadStmtFromStream()

123