Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1429 ExprWithCleanups::ExprWithCleanups(Expr *subexpr, in ExprWithCleanups() function in ExprWithCleanups
1438 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, Expr *subexpr, in Create()
1442 alignof(ExprWithCleanups)); in Create()
1444 ExprWithCleanups(subexpr, CleanupsHaveSideEffects, objects); in Create()
1447 ExprWithCleanups::ExprWithCleanups(EmptyShell empty, unsigned numObjects) in ExprWithCleanups() function in ExprWithCleanups
1452 ExprWithCleanups *ExprWithCleanups::Create(const ASTContext &C, in Create()
1456 alignof(ExprWithCleanups)); in Create()
1457 return new (buffer) ExprWithCleanups(empty, numObjects); in Create()
H A DParentMapContext.cpp246 if (isa<ExprWithCleanups>(E)) in AscendIgnoreUnlessSpelledInSource()
H A DExprClassification.cpp386 return ClassifyInternal(Ctx, cast<ExprWithCleanups>(E)->getSubExpr()); in ClassifyInternal()
H A DExpr.cpp2991 return cast<ExprWithCleanups>(this)->getSubExpr() in isUnusedResultAWarning()
3333 if (auto *EWC = dyn_cast<ExprWithCleanups>(this)) in isConstantInitializer()
3348 return cast<ExprWithCleanups>(this)->getSubExpr()->isConstantInitializer( in isConstantInitializer()
3711 if (cast<ExprWithCleanups>(this)->cleanupsHaveSideEffects()) in HasSideEffects()
4965 if (const ExprWithCleanups *ewc = dyn_cast<ExprWithCleanups>(e)) in findInCopyConstruct()
H A DDeclPrinter.cpp399 if (ExprWithCleanups *Tmp = dyn_cast<ExprWithCleanups>(Init)) in PrintConstructorInitializers()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLLVMConventionsChecker.cpp159 ExprWithCleanups *Ex1 = dyn_cast<ExprWithCleanups>(Init); in VisitVarDecl()
H A DStackAddrEscapeChecker.cpp321 if (const ExprWithCleanups *Cleanup = dyn_cast<ExprWithCleanups>(RetE)) in FilterReturnExpressionLeaks()
/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);
307 void VisitExprWithCleanups(const ExprWithCleanups *Node);
H A DJSONNodeDumper.h312 void VisitExprWithCleanups(const ExprWithCleanups *EWC);
H A DExprCXX.h3595 class ExprWithCleanups final
3598 ExprWithCleanups,
3611 ExprWithCleanups(EmptyShell, unsigned NumObjects);
3612 ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
3616 static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
3619 static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DEnvironment.cpp47 E = cast<ExprWithCleanups>(E)->getSubExpr(); in ignoreTransparentExprs()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp611 CFGBlock *VisitExprWithCleanups(ExprWithCleanups *E,
1568 auto *Cleanups = cast<ExprWithCleanups>(Child); in findConstructionContexts()
1807 HasTemporaries = isa<ExprWithCleanups>(Init); in addInitializer()
1812 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in addInitializer()
1833 return Visit(cast<ExprWithCleanups>(Init)->getSubExpr()); in addInitializer()
1863 if (const ExprWithCleanups *EWC = dyn_cast<ExprWithCleanups>(Init)) { in getReferenceInitTemporaryType()
2342 return VisitExprWithCleanups(cast<ExprWithCleanups>(S), in Visit()
3098 HasTemporaries = isa<ExprWithCleanups>(Init); in VisitDeclSubExpr()
3103 VisitForTemporaryDtors(cast<ExprWithCleanups>(Init)->getSubExpr(), in VisitDeclSubExpr()
3142 ExprWithCleanups *EC = cast<ExprWithCleanups>(Init); in VisitDeclSubExpr()
[all …]
H A DConsumed.cpp463 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
470 if (const auto Cleanups = dyn_cast<ExprWithCleanups>(E)) in findInfo()
H A DLiveVariables.cpp294 S = cast<ExprWithCleanups>(S)->getSubExpr(); in Visit()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DASTOps.cpp40 if (auto *EWC = dyn_cast<ExprWithCleanups>(Current)) { in ignoreCFGOmittedNodes()
H A DTransfer.cpp816 void VisitExprWithCleanups(const ExprWithCleanups *S) { in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1081 assert(isa<ExprWithCleanups>(getter)); in hasTrivialGetExpr()
1457 assert(isa<ExprWithCleanups>(setter)); in hasTrivialSetExpr()
3348 assert(!isa<ExprWithCleanups>(e)); in visit()
3495 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainScalarExpr()
3510 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCRetainAutoreleaseScalarExpr()
3620 if (const ExprWithCleanups *cleanups = dyn_cast<ExprWithCleanups>(e)) { in EmitARCUnsafeUnretainedScalarExpr()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterValuePrinter.cpp211 if (auto *EWC = llvm::dyn_cast_if_present<ExprWithCleanups>(E)) in ExtractValueFromExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DJumpDiagnostics.cpp561 ExprWithCleanups *EWC = cast<ExprWithCleanups>(S); in BuildScopeInformation()
H A DSemaOpenACC.cpp1206 if (const auto *ExprTemp = dyn_cast<ExprWithCleanups>(InitStmt)) in checkForInit()
1300 if (const auto *ExprTemp = dyn_cast<ExprWithCleanups>(CondStmt)) in checkForCond()
1433 if (const auto *ExprTemp = dyn_cast<ExprWithCleanups>(IncStmt)) in checkForInc()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td148 def ExprWithCleanups : StmtNode<FullExpr>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp801 bool VisitExprWithCleanups(const ExprWithCleanups *EWC) { in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprConstant.cpp197 mlir::Attribute VisitExprWithCleanups(ExprWithCleanups *e, QualType t) { in VisitExprWithCleanups()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h176 bool VisitExprWithCleanups(const ExprWithCleanups *E);

123