Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1423 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1433 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1437 alignof(ExprWithCleanups)); in Create()
1439 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1442 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1447 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1451 alignof(ExprWithCleanups)); in Create()
1452 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMapContext.cpp240 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprClassification.cpp372 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DExpr.cpp2974 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3313 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer()
3328 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer()
3686 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4874 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DDeclPrinter.cpp371 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
H A DJSONNodeDumper.cpp1527 void JSONNodeDumper::VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
1532 for (const ExprWithCleanups::CleanupObject &CO : EWC->getObjects()) in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporter.h316 llvm::Expected<ExprWithCleanups::CleanupObject>
317 Import(ExprWithCleanups::CleanupObject From);
H A DTextNodeDumper.h212 void dumpCleanupObject(const ExprWithCleanups::CleanupObject &C);
306 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DJSONNodeDumper.h308 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
H A DExprCXX.h3469 class ExprWithCleanups final
3472 ExprWithCleanups,
3485 ExprWithCleanups(EmptyShell, unsigned NumObjects);
3486 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
3490 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
3493 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp589 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E,
1480 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1720 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1725 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1746 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1776 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2253 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit()
2989 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
2994 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
3033 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
H A DLiveVariables.cpp277 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp39 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()
H A DTransfer.cpp811 void VisitExprWithCleanups(const ExprWithCleanups *S) { in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1081 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1421 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3302 assert(!isa<ExprWithCleanups>(e)); in visit()
3449 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3464 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3574 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
H A DCGExprAgg.cpp200 void VisitExprWithCleanups(ExprWithCleanups *E);
1403 void AggExprEmitter::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp562 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaConcept.cpp105 } else if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpression)) in CheckConstraintExpression()
335 if (auto *C = dyn_cast<ExprWithCleanups>(ConstraintExpr)) { in calculateConstraintSatisfaction()
H A DSemaLambda.cpp676 ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(retValue); in adjustBlockReturnsToEnum()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp504 bool VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td147 def ExprWithCleanups : StmtNode<FullExpr>;
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h158 bool VisitExprWithCleanups(const ExprWithCleanups *E);
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp730 if (auto *EWC = llvm::dyn_cast_if_present<ExprWithCleanups>(E)) in transformForValuePrinting()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1968 void ASTStmtReader::VisitExprWithCleanups(ExprWithCleanups *E) { in VisitExprWithCleanups()
1975 ExprWithCleanups::CleanupObject Obj; in VisitExprWithCleanups()
1982 E->getTrailingObjects<ExprWithCleanups::CleanupObject>()[i] = Obj; in VisitExprWithCleanups()
4094 S = ExprWithCleanups::Create(Context, Empty, in ReadStmtFromStream()

123