Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/clang/lib/AST/
H A DExprCXX.cpp1363 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1373 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1377 alignof(ExprWithCleanups)); in Create()
1379 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1382 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1387 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1391 alignof(ExprWithCleanups)); in Create()
1392 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMapContext.cpp221 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprClassification.cpp359 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DDeclPrinter.cpp333 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
H A DExpr.cpp2944 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3294 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer()
3625 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4703 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DJSONNodeDumper.cpp1419 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
1424 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
H A DTextNodeDumper.cpp719 const ExprWithCleanups::CleanupObject &C) { in dumpCleanupObject()
1283 void TextNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *Node) { in VisitExprWithCleanups()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DStackAddrEscapeChecker.cpp268 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in checkPreStmt()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DASTImporter.h315 llvm::Expected<ExprWithCleanups::CleanupObject>
316 Import(ExprWithCleanups::CleanupObject From);
H A DTextNodeDumper.h204 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
286 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DJSONNodeDumper.h296 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
H A DExprCXX.h3416 class ExprWithCleanups final
3419 ExprWithCleanups,
3432 ExprWithCleanups(EmptyShell, unsigned NumObjects);
3433 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
3437 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
3440 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp46 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DCFG.cpp576 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E,
1457 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1706 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1711 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1732 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1762 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2248 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit()
2985 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2990 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
3029 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.cpp277 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGObjC.cpp1080 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1425 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3329 assert(!isa<ExprWithCleanups>(e)); in visit()
3476 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3491 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3601 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DJumpDiagnostics.cpp556 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaConcept.cpp101 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression()
213 if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
H A DSemaLambda.cpp691 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DDataflowAnalysisContext.cpp385 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()
H A DTransfer.cpp745 void VisitExprWithCleanups(const ExprWithCleanups *S) { in VisitExprWithCleanups()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td147 def ExprWithCleanups : StmtNode<FullExpr>;
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderStmt.cpp1929 void ASTStmtReader::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
1936 ExprWithCleanups::CleanupObject Obj; in VisitExprWithCleanups()
1943 E->getTrailingObjects<ExprWithCleanups::CleanupObject>()[i] = Obj; in VisitExprWithCleanups()
3907 S = ExprWithCleanups::Create(Context, Empty, in ReadStmtFromStream()

123