Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/
H A DConstructionContext.h104 ConstructionContextItem(const CXXConstructExpr *CE) in ConstructionContextItem()
110 ConstructionContextItem(const CXXConstructExpr *CE, unsigned Index) in ConstructionContextItem()
122 assert(isa<CallExpr>(E) || isa<CXXConstructExpr>(E) || in ConstructionContextItem()
528 const CXXConstructExpr *ElidedCE;
535 const CXXConstructExpr *ElidedCE, const ConstructionContext *ElidedCC) in ElidedTemporaryObjectConstructionContext()
546 const CXXConstructExpr *getConstructorAfterElision() const { in getConstructorAfterElision()
646 assert(isa<CallExpr>(CE) || isa<CXXConstructExpr>(CE) || in ArgumentConstructionContext()
H A DAnyCall.h87 AnyCall(const CXXConstructExpr *NE) in AnyCall()
121 } else if (const auto *CXCE = dyn_cast<CXXConstructExpr>(E)) { in forExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp330 } else if (const auto *CCE = dyn_cast<CXXConstructExpr>(E)) { in computeObjectUnderConstruction()
462 const auto *CE = dyn_cast<CXXConstructExpr>(E); in handleConstructor()
496 const CXXConstructExpr::ConstructionKind CK = in handleConstructor()
499 case CXXConstructExpr::CK_Complete: { in handleConstructor()
508 case CXXConstructExpr::CK_VirtualBase: { in handleConstructor()
511 const auto *OuterCtor = dyn_cast_or_null<CXXConstructExpr>( in handleConstructor()
522 case CXXConstructExpr::CK_NonVirtualBase: in handleConstructor()
541 case CXXConstructExpr::CK_Delegating: { in handleConstructor()
547 if (CK == CXXConstructExpr::CK_Delegating) { in handleConstructor()
551 bool IsVirtual = (CK == CXXConstructExpr::CK_VirtualBase); in handleConstructor()
[all …]
H A DCoreEngine.cpp475 if (const auto *CallerCtor = dyn_cast_or_null<CXXConstructExpr>( in HandleVirtualBaseBranch()
478 case CXXConstructExpr::CK_NonVirtualBase: in HandleVirtualBaseBranch()
479 case CXXConstructExpr::CK_VirtualBase: { in HandleVirtualBaseBranch()
H A DExprEngineCallAndReturn.cpp252 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit()
753 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
785 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete) { in mayInlineCallKind()
/freebsd-13.1/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()
H A DDynamicTypePropagation.cpp274 case CXXConstructExpr::CK_Complete: in checkPreCall()
275 case CXXConstructExpr::CK_Delegating: in checkPreCall()
278 case CXXConstructExpr::CK_NonVirtualBase: in checkPreCall()
279 case CXXConstructExpr::CK_VirtualBase: in checkPreCall()
366 case CXXConstructExpr::CK_Complete: in checkPostCall()
367 case CXXConstructExpr::CK_Delegating: in checkPostCall()
374 case CXXConstructExpr::CK_NonVirtualBase: in checkPostCall()
375 case CXXConstructExpr::CK_VirtualBase: in checkPostCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp509 SourceLocation CXXConstructExpr::getBeginLoc() const { in getBeginLoc()
515 SourceLocation CXXConstructExpr::getEndLoc() const { in getEndLoc()
987 : CXXConstructExpr( in CXXTemporaryObjectExpr()
991 CXXConstructExpr::CK_Complete, ParenOrBraceRange), in CXXTemporaryObjectExpr()
1032 CXXConstructExpr *CXXConstructExpr::Create( in Create()
1040 alignof(CXXConstructExpr)); in Create()
1041 return new (Mem) CXXConstructExpr( in Create()
1047 CXXConstructExpr *CXXConstructExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
1051 alignof(CXXConstructExpr)); in CreateEmpty()
1056 CXXConstructExpr::CXXConstructExpr( in CXXConstructExpr() function in CXXConstructExpr
[all …]
H A DJSONNodeDumper.cpp1355 void JSONNodeDumper::VisitCXXConstructExpr(const CXXConstructExpr *CE) { in VisitCXXConstructExpr()
1365 case CXXConstructExpr::CK_Complete: in VisitCXXConstructExpr()
1368 case CXXConstructExpr::CK_Delegating: in VisitCXXConstructExpr()
1371 case CXXConstructExpr::CK_NonVirtualBase: in VisitCXXConstructExpr()
1374 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp492 if (const CXXConstructExpr *CE = in isEmptyCudaConstructor()
493 dyn_cast<CXXConstructExpr>(CI->getInit())) in isEmptyCudaConstructor()
586 if (const auto *CE = dyn_cast<CXXConstructExpr>(Init)) { in HasAllowedCUDADeviceStaticInitializer()
631 if (const CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(Init)) { in checkAllowedCUDAInitializer()
H A DUsedDeclVisitor.h82 void VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
H A DSemaFixItUtils.cpp73 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp595 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
596 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
599 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
600 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
636 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
642 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
646 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
650 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
663 assert(isa<CXXConstructExpr>(Exp) && in EmitSynthesizedCXXCopyCtor()
665 const CXXConstructExpr* E = cast<CXXConstructExpr>(Exp); in EmitSynthesizedCXXCopyCtor()
[all …]
H A DCGClass.cpp664 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
1070 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1916 Address arrayBegin, const CXXConstructExpr *E, bool NewPointerIsChecked, in EmitCXXAggrConstructorCall()
1938 const CXXConstructExpr *E, in EmitCXXAggrConstructorCall()
2056 const CXXConstructExpr *E) { in EmitCXXConstructorCall()
2326 const CXXConstructExpr *E) { in EmitSynthesizedCXXCopyCtorCall()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h851 assert(E && (isa<CXXConstructExpr>(E) || isa<CXXInheritedCtorInitExpr>(E))); in AnyCXXConstructorCall()
886 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
895 const CXXConstructExpr *getOriginExpr() const override { in getOriginExpr()
896 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
969 const CXXConstructExpr *getInheritingConstructor() const { in getInheritingConstructor()
970 return cast<CXXConstructExpr>(getInheritingStackFrame()->getCallSite()); in getInheritingConstructor()
1403 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
H A DExprEngine.h51 class CXXConstructExpr; variable
557 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
864 const CXXConstructExpr *findDirectConstructorForCurrentCFGElement();
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h72 class CXXConstructExpr; variable
158 ExprDependence computeDependence(CXXConstructExpr *E);
H A DExprCXX.h1460 class CXXConstructExpr : public Expr {
1498 return const_cast<CXXConstructExpr *>(this)->getTrailingArgs(); in getTrailingArgs()
1503 CXXConstructExpr(StmtClass SC, QualType Ty, SourceLocation Loc,
1511 CXXConstructExpr(StmtClass SC, EmptyShell Empty, unsigned NumArgs);
1521 static CXXConstructExpr *
1691 CXXConstructExpr::ConstructionKind getConstructionKind() const { in getConstructionKind()
1692 return ConstructsVirtualBase ? CXXConstructExpr::CK_VirtualBase in getConstructionKind()
1797 class CXXTemporaryObjectExpr final : public CXXConstructExpr {
1836 Stmt **CXXConstructExpr::getTrailingArgs() { in getTrailingArgs()
2326 const CXXConstructExpr *getConstructExpr() const { in getConstructExpr()
[all …]
H A DIgnoreExpr.h125 auto *CCE = dyn_cast<CXXConstructExpr>(E); in IgnoreElidableImplicitConstructorSingleStep()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1861 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXConstructExpr>
2923 extern const internal::MapAnyOfMatcher<CallExpr, CXXConstructExpr> invocation;
4324 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4348 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument
4573 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4634 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
4650 AST_MATCHER(CXXConstructExpr, requiresZeroInitialization) { in AST_MATCHER() argument
4704 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
4765 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
7831 if (const auto *CtorExpr = dyn_cast<CXXConstructExpr>(E)) { in AST_MATCHER_P()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp22 if (const auto *CE = dyn_cast<CXXConstructExpr>(Expr)) { in reallyIgnoreImplicit()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DStmtNodes.td144 def CXXConstructExpr : StmtNode<Expr>;
148 def CXXTemporaryObjectExpr : StmtNode<CXXConstructExpr>;

1234