Home
last modified time | relevance | path

Searched refs:CXXConstructExpr (Results 1 – 25 of 89) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h52 class CXXConstructExpr; variable
564 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
616 getIndexOfElementToConstruct(ProgramStateRef State, const CXXConstructExpr *E,
626 getPendingInitLoop(ProgramStateRef State, const CXXConstructExpr *E,
816 const CXXConstructExpr *CE,
842 bool shouldRepeatCtorCall(ProgramStateRef State, const CXXConstructExpr *E,
924 setIndexOfElementToConstruct(ProgramStateRef State, const CXXConstructExpr *E,
929 const CXXConstructExpr *E,
944 const CXXConstructExpr *E,
949 const CXXConstructExpr *E,
[all …]
H A DCallEvent.h882 assert(E && (isa<CXXConstructExpr>(E) || isa<CXXInheritedCtorInitExpr>(E))); in AnyCXXConstructorCall()
922 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
934 const CXXConstructExpr *getOriginExpr() const override { in getOriginExpr()
935 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
1009 const CXXConstructExpr *getInheritingConstructor() const { in getInheritingConstructor()
1010 return cast<CXXConstructExpr>(getInheritingStackFrame()->getCallSite()); in getInheritingConstructor()
1362 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalysisOrderChecker.cpp36 check::PostStmt<CXXDeleteExpr>, check::PreStmt<CXXConstructExpr>,
37 check::PostStmt<CXXConstructExpr>, check::PreStmt<OffsetOfExpr>,
105 void checkPreStmt(const CXXConstructExpr *NE, CheckerContext &C) const { in checkPreStmt()
110 void checkPostStmt(const CXXConstructExpr *NE, CheckerContext &C) const { in checkPostStmt()
H A DLLVMConventionsChecker.cpp162 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl()
168 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h107 ConstructionContextItem(const CXXConstructExpr *CE) in ConstructionContextItem()
113 ConstructionContextItem(const CXXConstructExpr *CE, unsigned Index) in ConstructionContextItem()
125 assert(isa<CallExpr>(E) || isa<CXXConstructExpr>(E) || in ConstructionContextItem()
551 const CXXConstructExpr *ElidedCE;
558 const CXXConstructExpr *ElidedCE, const ConstructionContext *ElidedCC) in ElidedTemporaryObjectConstructionContext()
569 const CXXConstructExpr *getConstructorAfterElision() const { in getConstructorAfterElision()
669 assert(isa<CallExpr>(CE) || isa<CXXConstructExpr>(CE) || in ArgumentConstructionContext()
H A DAnyCall.h88 AnyCall(const CXXConstructExpr *NE) in AnyCall()
122 } else if (const auto *CXCE = dyn_cast<CXXConstructExpr>(E)) { in forExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DConstructionContext.cpp68 const CXXConstructExpr *ElidedCE = nullptr; in createMaterializedTemporaryFromLayers()
74 ElidedCE = cast<CXXConstructExpr>(ElidedItem.getStmt()); in createMaterializedTemporaryFromLayers()
146 assert(isa<CallExpr>(E) || isa<CXXConstructExpr>(E) || in createBoundTemporaryFromLayers()
H A DCallGraph.cpp96 void VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp513 SourceLocation CXXConstructExpr::getBeginLoc() const { in getBeginLoc()
519 SourceLocation CXXConstructExpr::getEndLoc() const { in getEndLoc()
1063 : CXXConstructExpr( in CXXTemporaryObjectExpr()
1110 CXXConstructExpr *CXXConstructExpr::Create( in Create()
1118 alignof(CXXConstructExpr)); in Create()
1119 return new (Mem) CXXConstructExpr( in Create()
1125 CXXConstructExpr *CXXConstructExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
1129 alignof(CXXConstructExpr)); in CreateEmpty()
1131 CXXConstructExpr(CXXConstructExprClass, EmptyShell(), NumArgs); in CreateEmpty()
1134 CXXConstructExpr::CXXConstructExpr( in CXXConstructExpr() function in CXXConstructExpr
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp227 ProgramStateRef State, const CXXConstructExpr *E, in removeStateTraitsUsedForArrayEvaluation()
317 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit()
345 state, dyn_cast_or_null<CXXConstructExpr>(CE), callerCtx); in processCallExit()
862 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
1143 const CXXConstructExpr *CE, in shouldInlineArrayConstruction()
1179 const CXXConstructExpr *E, in shouldRepeatCtorCall()
1263 State, dyn_cast_or_null<CXXConstructExpr>(E), Call->getLocationContext()); in defaultEvalCall()
H A DExprEngineCXX.cpp319 const auto *CE = dyn_cast_or_null<CXXConstructExpr>(E); in computeObjectUnderConstruction()
372 } else if (const auto *CCE = dyn_cast<CXXConstructExpr>(E)) { in computeObjectUnderConstruction()
567 cast<CXXConstructExpr>(extractElementInitializerFromNestedAILE(AILE)); in bindRequiredArrayElementToEnvironment()
585 const auto *CE = dyn_cast<CXXConstructExpr>(E); in handleConstructor()
672 const auto *OuterCtor = dyn_cast_or_null<CXXConstructExpr>( in handleConstructor()
844 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE, in VisitCXXConstructExpr()
1118 if (!isa<CXXConstructExpr>(Init)) { in VisitCXXNewExpr()
H A DExprEngine.cpp197 std::pair<const CXXConstructExpr *, const LocationContext *>, unsigned>
206 std::pair<const CXXConstructExpr *, const LocationContext *>, unsigned>
476 ProgramStateRef State, const CXXConstructExpr *E, in setIndexOfElementToConstruct()
493 const CXXConstructExpr *E, in removePendingInitLoop()
502 const CXXConstructExpr *E, in setPendingInitLoop()
514 const CXXConstructExpr *E, in getIndexOfElementToConstruct()
523 const CXXConstructExpr *E, in removeIndexOfElementToConstruct()
596 {dyn_cast_or_null<CXXConstructExpr>(Init), LC})) && in addObjectUnderConstruction()
829 const CXXConstructExpr *E = Key.first; in printPendingInitLoopJson()
2159 VisitCXXConstructExpr(cast<CXXConstructExpr>(S), Pred, Dst); in Visit()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp459 const CXXConstructExpr *E, const MatchFinder::MatchResult &MatchRes, in transferValueOrConversionConstructor()
654 .CaseOfCFGStmt<CXXConstructExpr>( in buildTransferMatchSwitch()
656 [](const CXXConstructExpr *E, const MatchFinder::MatchResult &, in buildTransferMatchSwitch()
662 .CaseOfCFGStmt<CXXConstructExpr>( in buildTransferMatchSwitch()
664 [](const CXXConstructExpr *E, const MatchFinder::MatchResult &, in buildTransferMatchSwitch()
670 .CaseOfCFGStmt<CXXConstructExpr>(isOptionalValueOrConversionConstructor(), in buildTransferMatchSwitch()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp525 if (const CXXConstructExpr *CE = in isEmptyCudaConstructor()
526 dyn_cast<CXXConstructExpr>(CI->getInit())) in isEmptyCudaConstructor()
619 if (const auto *CE = dyn_cast<CXXConstructExpr>(Init)) { in HasAllowedCUDADeviceStaticInitializer()
673 if (const CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(Init)) { in checkAllowedCUDAInitializer()
H A DUsedDeclVisitor.h83 void VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
H A DSemaFixItUtils.cpp73 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h73 class CXXConstructExpr; variable
162 ExprDependence computeDependence(CXXConstructExpr *E);
H A DIgnoreExpr.h126 auto *CCE = dyn_cast<CXXConstructExpr>(E); in IgnoreElidableImplicitConstructorSingleStep()
H A DExprCXX.h1530 class CXXConstructExpr : public Expr {
1559 return const_cast<CXXConstructExpr *>(this)->getTrailingArgs(); in getTrailingArgs()
1564 CXXConstructExpr(StmtClass SC, QualType Ty, SourceLocation Loc,
1572 CXXConstructExpr(StmtClass SC, EmptyShell Empty, unsigned NumArgs);
1582 static CXXConstructExpr *
1590 static CXXConstructExpr *CreateEmpty(const ASTContext &Ctx, unsigned NumArgs);
1712 auto Children = const_cast<CXXConstructExpr *>(this)->children(); in children()
1869 class CXXTemporaryObjectExpr final : public CXXConstructExpr {
1908 Stmt **CXXConstructExpr::getTrailingArgs() { in getTrailingArgs()
2409 const CXXConstructExpr *getConstructExpr() const { in getConstructExpr()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h201 Environment pushCall(const CXXConstructExpr *Call) const;
206 void popCall(const CXXConstructExpr *Call, const Environment &CalleeEnv);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1886 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXConstructExpr>
3014 extern const internal::MapAnyOfMatcher<CallExpr, CXXConstructExpr> invocation;
4504 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4531 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4555 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument
4895 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4987 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
5003 AST_MATCHER(CXXConstructExpr, requiresZeroInitialization) { in AST_MATCHER() argument
5057 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
5118 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td144 def CXXConstructExpr : StmtNode<Expr>;
148 def CXXTemporaryObjectExpr : StmtNode<CXXConstructExpr>;
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp24 if (const auto *CE = dyn_cast<CXXConstructExpr>(Expr)) { in reallyIgnoreImplicit()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp592 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, in EmitCXXConstructExpr()
671 assert(isa<CXXConstructExpr>(Exp) && in EmitSynthesizedCXXCopyCtor()
673 const CXXConstructExpr* E = cast<CXXConstructExpr>(Exp); in EmitSynthesizedCXXCopyCtor()
1173 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in EmitNewArrayInitializer()
H A DCGClass.cpp658 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
1057 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1976 Address arrayBegin, const CXXConstructExpr *E, bool NewPointerIsChecked, in EmitCXXAggrConstructorCall()
1998 const CXXConstructExpr *E, in EmitCXXAggrConstructorCall()
2116 const CXXConstructExpr *E) { in EmitCXXConstructorCall()
2385 const CXXConstructExpr *E) { in EmitSynthesizedCXXCopyCtorCall()

1234