Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprCXX.cpp1226 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1236 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1240 alignof(ExprWithCleanups)); in Create()
1242 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1245 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1250 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1254 alignof(ExprWithCleanups)); in Create()
1255 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DDeclPrinter.cpp310 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
H A DExprClassification.cpp336 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DExpr.cpp2484 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3215 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4068 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DTextNodeDumper.cpp894 void TextNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *Node) { in VisitExprWithCleanups()
H A DStmtProfile.cpp1757 void StmtProfiler::VisitExprWithCleanups(const ExprWithCleanups *S) { in VisitExprWithCleanups()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp160 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DStackAddrEscapeChecker.cpp273 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp45 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp549 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E, AddStmtChoice asc);
1327 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1516 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1521 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1537 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1567 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2046 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), asc); in Visit()
2694 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2699 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
2720 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
H A DConsumed.cpp471 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
478 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
H A DLiveVariables.cpp320 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
H A DThreadSafetyCommon.cpp244 return translate(cast<ExprWithCleanups>(S)->getSubExpr(), Ctx); in translate()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGObjC.cpp925 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1239 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3023 assert(!isa<ExprWithCleanups>(e)); in visit()
3159 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3175 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3286 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
H A DCGExprAgg.cpp180 void VisitExprWithCleanups(ExprWithCleanups *E);
1270 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
H A DCGExprCXX.cpp647 if (const ExprWithCleanups *E = dyn_cast<ExprWithCleanups>(Exp)) in EmitSynthesizedCXXCopyCtor()
H A DCGExprComplex.cpp223 ComplexPairTy VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
H A DCGBlocks.cpp866 if (const auto EWC = dyn_cast<ExprWithCleanups>(E)) { in enterNonTrivialFullExpression()
868 for (const ExprWithCleanups::CleanupObject &C : EWC->getObjects()) in enterNonTrivialFullExpression()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTextNodeDumper.h256 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DExprCXX.h3089 class ExprWithCleanups final
3091 private llvm::TrailingObjects<ExprWithCleanups, BlockDecl *> {
3103 ExprWithCleanups(EmptyShell, unsigned NumObjects);
3104 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
3108 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
3111 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DJumpDiagnostics.cpp516 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaLambda.cpp638 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DStmtNodes.td138 def ExprWithCleanups : DStmt<FullExpr>;
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp652 const internal::VariadicDynCastAllOfMatcher<Stmt, ExprWithCleanups>
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderStmt.cpp1574 void ASTStmtReader::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
3251 S = ExprWithCleanups::Create(Context, Empty, in ReadStmtFromStream()

12