Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DLowLevelHelpers.cpp19 static const FunctionDecl *getCallee(const CXXConstructExpr &D) { in getCallee()
32 std::is_same_v<CXXConstructExpr, ExprNode>); in matchEachArgumentWithParamTypeImpl()
98 const CXXConstructExpr &Node, in matchEachArgumentWithParamType()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h52 class CXXConstructExpr; variable
568 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
621 getIndexOfElementToConstruct(ProgramStateRef State, const CXXConstructExpr *E,
631 getPendingInitLoop(ProgramStateRef State, const CXXConstructExpr *E,
821 const CXXConstructExpr *CE,
847 bool shouldRepeatCtorCall(ProgramStateRef State, const CXXConstructExpr *E,
929 setIndexOfElementToConstruct(ProgramStateRef State, const CXXConstructExpr *E,
934 const CXXConstructExpr *E,
949 const CXXConstructExpr *E,
954 const CXXConstructExpr *E,
[all …]
H A DCallEvent.h961 assert(E && (isa<CXXConstructExpr>(E) || isa<CXXInheritedCtorInitExpr>(E))); in AnyCXXConstructorCall()
1001 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
1013 const CXXConstructExpr *getOriginExpr() const override { in getOriginExpr()
1014 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
1088 const CXXConstructExpr *getInheritingConstructor() const { in getInheritingConstructor()
1089 return cast<CXXConstructExpr>(getInheritingStackFrame()->getCallSite()); in getInheritingConstructor()
1441 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalysisOrderChecker.cpp35 check::PostStmt<CXXDeleteExpr>, check::PreStmt<CXXConstructExpr>,
36 check::PostStmt<CXXConstructExpr>, check::PreStmt<OffsetOfExpr>,
104 void checkPreStmt(const CXXConstructExpr *NE, CheckerContext &C) const { in checkPreStmt()
109 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/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/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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLambdaCapturesChecker.cpp53 llvm::DenseSet<const CXXConstructExpr *> ConstructToIgnore; in checkASTDecl()
147 bool VisitCXXConstructExpr(CXXConstructExpr *CE) override { in checkASTDecl()
200 auto *CE = dyn_cast_or_null<CXXConstructExpr>(E); in checkASTDecl()
206 auto *InnerCE = dyn_cast_or_null<CXXConstructExpr>(CtorArg); in checkASTDecl()
301 if (auto *CE = dyn_cast<CXXConstructExpr>(Arg)) { in checkASTDecl()
H A DForwardDeclChecker.cpp89 bool VisitCXXConstructExpr(const CXXConstructExpr *CE) { in checkASTDecl()
224 void visitConstructExpr(const CXXConstructExpr *CE, in visitConstructExpr()
H A DRetainPtrCtorAdoptChecker.cpp85 bool VisitCXXConstructExpr(const CXXConstructExpr *CE) { in checkASTDecl()
292 void visitConstructExpr(const CXXConstructExpr *CE, in visitConstructExpr()
608 void reportLeak(std::string &Name, const CXXConstructExpr *CE, in reportLeak()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp563 SourceLocation CXXConstructExpr::getBeginLoc() const { in getBeginLoc()
569 SourceLocation CXXConstructExpr::getEndLoc() const { in getEndLoc()
1121 : CXXConstructExpr( in CXXTemporaryObjectExpr()
1132 : CXXConstructExpr(CXXTemporaryObjectExprClass, Empty, NumArgs) {} in CXXTemporaryObjectExpr()
1168 CXXConstructExpr *CXXConstructExpr::Create( in Create()
1175 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, in Create()
1176 alignof(CXXConstructExpr)); in Create()
1177 return new (Mem) CXXConstructExpr( in Create()
1183 CXXConstructExpr *CXXConstructExpr::CreateEmpty(const ASTContext &Ctx, in CreateEmpty()
1186 void *Mem = Ctx.Allocate(sizeof(CXXConstructExpr) + SizeOfTrailingObjects, in CreateEmpty()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DLowLevelHelpers.h30 const CXXConstructExpr &Node,
H A DASTMatchers.h1926 extern const internal::VariadicDynCastAllOfMatcher<Stmt, CXXConstructExpr>
3085 extern const internal::MapAnyOfMatcher<CallExpr, CXXConstructExpr> invocation;
4597 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4624 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
4648 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument
4986 CallExpr, CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
5080 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
5096 AST_MATCHER(CXXConstructExpr, requiresZeroInitialization) { in AST_MATCHER() argument
5169 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
5232 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp223 ProgramStateRef State, const CXXConstructExpr *E, in removeStateTraitsUsedForArrayEvaluation()
312 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit()
340 state, dyn_cast_or_null<CXXConstructExpr>(CE), callerCtx); in processCallExit()
863 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
1144 const CXXConstructExpr *CE, in shouldInlineArrayConstruction()
1180 const CXXConstructExpr *E, in shouldRepeatCtorCall()
1264 State, dyn_cast_or_null<CXXConstructExpr>(E), Call->getLocationContext()); in defaultEvalCall()
H A DExprEngineCXX.cpp329 const auto *CE = dyn_cast_or_null<CXXConstructExpr>(E); in computeObjectUnderConstruction()
382 } else if (const auto *CCE = dyn_cast<CXXConstructExpr>(E)) { in computeObjectUnderConstruction()
536 cast<CXXConstructExpr>(extractElementInitializerFromNestedAILE(AILE)); in bindRequiredArrayElementToEnvironment()
550 const auto *CE = dyn_cast<CXXConstructExpr>(E); in handleConstructor()
637 const auto *OuterCtor = dyn_cast_or_null<CXXConstructExpr>( in handleConstructor()
814 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE, in VisitCXXConstructExpr()
1090 if (!isa<CXXConstructExpr>(Init)) { in VisitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DRangeSelector.cpp292 SourceLocation findLastArgEnd(const CXXConstructExpr &CE, in findLastArgEnd()
318 const CXXConstructExpr &CE) { in getConstructArgumentsRange()
343 return RelativeSelector<CXXConstructExpr, getConstructArgumentsRange>( in constructExprArgs()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprAggregate.cpp76 void VisitCXXConstructExpr(const CXXConstructExpr *e);
98 if (const auto *cons = dyn_cast_or_null<CXXConstructExpr>(e)) in isTrivialFiller()
266 void AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *e) { in VisitCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp719 const CXXConstructExpr *E, const MatchFinder::MatchResult &MatchRes, in transferValueOrConversionConstructor()
916 .CaseOfCFGStmt<CXXConstructExpr>( in buildTransferMatchSwitch()
918 [](const CXXConstructExpr *E, const MatchFinder::MatchResult &, in buildTransferMatchSwitch()
924 .CaseOfCFGStmt<CXXConstructExpr>( in buildTransferMatchSwitch()
926 [](const CXXConstructExpr *E, const MatchFinder::MatchResult &, in buildTransferMatchSwitch()
932 .CaseOfCFGStmt<CXXConstructExpr>(isOptionalValueOrConversionConstructor(), in buildTransferMatchSwitch()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DComputeDependence.h74 class CXXConstructExpr; variable
166 ExprDependence computeDependence(CXXConstructExpr *E);
H A DIgnoreExpr.h126 auto *CCE = dyn_cast<CXXConstructExpr>(E); in IgnoreElidableImplicitConstructorSingleStep()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp555 if (const CXXConstructExpr *CE = in isEmptyConstructor()
556 dyn_cast<CXXConstructExpr>(CI->getInit())) in isEmptyConstructor()
649 if (const auto *CE = dyn_cast<CXXConstructExpr>(Init)) { in HasAllowedCUDADeviceStaticInitializer()
709 if (const CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(Init)) { in checkAllowedInitializer()
H A DUsedDeclVisitor.h83 void VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
H A DCheckExprLifetime.cpp432 shouldTrackFirstArgumentForConstructor(const CXXConstructExpr *Ctor) { in shouldTrackFirstArgumentForConstructor()
570 auto *CCE = cast<CXXConstructExpr>(Call); in visitFunctionCallArguments()
688 } else if (auto *Ctor = dyn_cast<CXXConstructExpr>(Call); in visitFunctionCallArguments()
1010 if (auto *CCE = dyn_cast<CXXConstructExpr>(Init)) { in visitLocalsRetainedByInitializer()
1022 if (isa<CallExpr>(Init) || isa<CXXConstructExpr>(Init)) in visitLocalsRetainedByInitializer()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DDataflowEnvironment.h219 Environment pushCall(const CXXConstructExpr *Call) const;
224 void popCall(const CXXConstructExpr *Call, const Environment &CalleeEnv);

12345