/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 107 ExprEngine::getRegionForConstructedObject(const CXXConstructExpr *CE, in getRegionForConstructedObject() 183 assert(isa<CXXConstructExpr>(((*B)[currStmtIdx]).castAs<CFGStmt>().getStmt())); in findElementDirectlyInitializedByCurrentConstructor() 203 const CXXConstructExpr * 225 if (auto *CtorExpr = dyn_cast<CXXConstructExpr>(PrevStmtElem->getStmt())) { in findDirectConstructorForCurrentCFGElement() 233 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE, in VisitCXXConstructExpr() 246 case CXXConstructExpr::CK_Complete: { in VisitCXXConstructExpr() 250 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr() 254 const CXXConstructExpr *OuterCtor = dyn_cast<CXXConstructExpr>(Outer); in VisitCXXConstructExpr() 257 case CXXConstructExpr::CK_NonVirtualBase: in VisitCXXConstructExpr() 258 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr() [all …]
|
D | ExprEngineCallAndReturn.cpp | 199 static bool isTemporaryPRValue(const CXXConstructExpr *E, SVal V) { in isTemporaryPRValue() 265 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit() 559 if (isTemporaryPRValue(cast<CXXConstructExpr>(E), ThisV)) in bindReturnValue() 622 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind() 643 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete) in mayInlineCallKind()
|
D | CallEvent.cpp | 257 || isa<CXXConstructExpr>(S) in isCallStmt() 1001 return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite), in getCaller()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | LLVMConventionsChecker.cpp | 164 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl() 170 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl()
|
D | DynamicTypePropagation.cpp | 169 case CXXConstructExpr::CK_Complete: in checkPreCall() 170 case CXXConstructExpr::CK_Delegating: in checkPreCall() 173 case CXXConstructExpr::CK_NonVirtualBase: in checkPreCall() 174 case CXXConstructExpr::CK_VirtualBase: in checkPreCall() 252 case CXXConstructExpr::CK_Complete: in checkPostCall() 253 case CXXConstructExpr::CK_Delegating: in checkPostCall() 260 case CXXConstructExpr::CK_NonVirtualBase: in checkPostCall() 261 case CXXConstructExpr::CK_VirtualBase: in checkPostCall()
|
D | StackAddrEscapeChecker.cpp | 156 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
|
D | DeadStoresChecker.cpp | 339 if (isa<CXXConstructExpr>(E)) in observeStmt()
|
/external/clang/test/Analysis/ |
D | blocks.mm | 44 // CHECK-NEXT: 2: [B1.1] (CXXConstructExpr, const struct StructWithCopyConstructor) 67 // CHECK-NEXT: 2: [B1.1] (CXXConstructExpr, struct StructWithCopyConstructor)
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExprEngine.h | 33 class CXXConstructExpr; variable 435 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred, 613 const CXXConstructExpr *findDirectConstructorForCurrentCFGElement(); 627 const MemRegion *getRegionForConstructedObject(const CXXConstructExpr *CE,
|
D | CallEvent.h | 755 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall() 768 virtual const CXXConstructExpr *getOriginExpr() const { in getOriginExpr() 769 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr() 1025 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 435 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, in EmitCXXConstructExpr() 446 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr() 447 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr() 450 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr() 451 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr() 483 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr() 489 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr() 493 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr() 497 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr() 511 assert(isa<CXXConstructExpr>(Exp) && in EmitSynthesizedCXXCopyCtor() [all …]
|
D | CGClass.cpp | 724 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer() 1149 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable() 1921 Address arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) { in EmitCXXAggrConstructorCall() 1941 const CXXConstructExpr *E, in EmitCXXAggrConstructorCall() 2052 const CXXConstructExpr *E) { in EmitCXXConstructorCall() 2149 const CXXConstructExpr *E) { in EmitSynthesizedCXXCopyCtorCall() 2671 if (isa<CXXConstructExpr>(Base)) in CanDevirtualizeMemberFunctionCall()
|
D | CodeGenFunction.h | 1850 Address This, const CXXConstructExpr *E); 1861 const CXXConstructExpr *E); 1866 const CXXConstructExpr *E, 1872 const CXXConstructExpr *E, 2612 LValue EmitCXXConstructLValue(const CXXConstructExpr *E); 2928 void EmitCXXConstructExpr(const CXXConstructExpr *E, AggValueSlot Dest);
|
D | CGExprAgg.cpp | 177 void VisitCXXConstructExpr(const CXXConstructExpr *E); 392 if (auto *Cons = dyn_cast_or_null<CXXConstructExpr>(E)) in isTrivialFiller() 998 AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
|
/external/clang/test/Misc/ |
D | ast-dump-decl.mm | 21 // CHECK-NEXT: CXXConstructExpr
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 258 TEST(CXXConstructExpr, SourceRange) { in TEST() argument 259 RangeVerifier<CXXConstructExpr> Verifier; in TEST() 534 RangeVerifier<CXXConstructExpr> Verifier; in TEST()
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 478 SourceLocation CXXConstructExpr::getLocStart() const { in getLocStart() 484 SourceLocation CXXConstructExpr::getLocEnd() const { in getLocEnd() 807 : CXXConstructExpr(C, CXXTemporaryObjectExprClass, in CXXTemporaryObjectExpr() 815 CXXConstructExpr::CK_Complete, ParenOrBraceRange), in CXXTemporaryObjectExpr() 830 CXXConstructExpr *CXXConstructExpr::Create(const ASTContext &C, QualType T, in Create() 840 return new (C) CXXConstructExpr(C, CXXConstructExprClass, T, Loc, D, in Create() 848 CXXConstructExpr::CXXConstructExpr(const ASTContext &C, StmtClass SC, in CXXConstructExpr() function in CXXConstructExpr
|
D | DeclPrinter.cpp | 585 } else if (CXXConstructExpr *Construct in VisitFunctionDecl() 586 = dyn_cast<CXXConstructExpr>(Init)) { in VisitFunctionDecl() 740 if (CXXConstructExpr *Construct = in VisitVarDecl() 741 dyn_cast<CXXConstructExpr>(Init->IgnoreImplicit())) { in VisitVarDecl()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTestExprVisitor.cpp | 120 bool VisitCXXConstructExpr(CXXConstructExpr* Expr) { in VisitCXXConstructExpr()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 128 def CXXConstructExpr : DStmt<Expr>; 131 def CXXTemporaryObjectExpr : DStmt<CXXConstructExpr>;
|
/external/clang/tools/libclang/ |
D | IndexBody.cpp | 122 bool VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 1150 class CXXConstructExpr : public Expr { 1174 CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T, 1186 CXXConstructExpr(StmtClass SC, EmptyShell Empty) in CXXConstructExpr() function 1194 explicit CXXConstructExpr(EmptyShell Empty) in CXXConstructExpr() function 1201 static CXXConstructExpr *Create(const ASTContext &C, QualType T, 1271 return const_cast<CXXConstructExpr *>(this)->getArgs(); in getArgs() 1370 class CXXTemporaryObjectExpr : public CXXConstructExpr { 1383 : CXXConstructExpr(CXXTemporaryObjectExprClass, Empty), Type() { } in CXXTemporaryObjectExpr() 1871 const CXXConstructExpr* getConstructExpr() const { in getConstructExpr() 1872 return dyn_cast_or_null<CXXConstructExpr>(getInitializer()); in getConstructExpr()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 1063 CXXConstructExpr> cxxConstructExpr; 2620 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument 2636 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument 2839 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P() argument 2852 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
|
D | JumpDiagnostics.cpp | 187 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in GetDiagForGotoScopeDecl()
|