Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp107 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 …]
DExprEngineCallAndReturn.cpp199 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()
DCallEvent.cpp257 || isa<CXXConstructExpr>(S) in isCallStmt()
1001 return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite), in getCaller()
/external/clang/lib/StaticAnalyzer/Checkers/
DLLVMConventionsChecker.cpp164 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl()
170 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl()
DDynamicTypePropagation.cpp169 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()
DStackAddrEscapeChecker.cpp156 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
DDeadStoresChecker.cpp339 if (isa<CXXConstructExpr>(E)) in observeStmt()
/external/clang/test/Analysis/
Dblocks.mm44 // 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/
DExprEngine.h33 class CXXConstructExpr; variable
435 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
613 const CXXConstructExpr *findDirectConstructorForCurrentCFGElement();
627 const MemRegion *getRegionForConstructedObject(const CXXConstructExpr *CE,
DCallEvent.h755 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/
DCGExprCXX.cpp435 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 …]
DCGClass.cpp724 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()
DCodeGenFunction.h1850 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);
DCGExprAgg.cpp177 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/
Dast-dump-decl.mm21 // CHECK-NEXT: CXXConstructExpr
/external/clang/unittests/AST/
DSourceLocationTest.cpp258 TEST(CXXConstructExpr, SourceRange) { in TEST() argument
259 RangeVerifier<CXXConstructExpr> Verifier; in TEST()
534 RangeVerifier<CXXConstructExpr> Verifier; in TEST()
/external/clang/lib/AST/
DExprCXX.cpp478 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
DDeclPrinter.cpp585 } 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/
DRecursiveASTVisitorTestExprVisitor.cpp120 bool VisitCXXConstructExpr(CXXConstructExpr* Expr) { in VisitCXXConstructExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td128 def CXXConstructExpr : DStmt<Expr>;
131 def CXXTemporaryObjectExpr : DStmt<CXXConstructExpr>;
/external/clang/tools/libclang/
DIndexBody.cpp122 bool VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
/external/clang/include/clang/AST/
DExprCXX.h1150 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/
DASTMatchers.h1063 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/
DSemaFixItUtils.cpp74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
DJumpDiagnostics.cpp187 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in GetDiagForGotoScopeDecl()

123