Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp72 case CXXConstructExpr::CK_Complete: in checkPreCall()
73 case CXXConstructExpr::CK_Delegating: in checkPreCall()
76 case CXXConstructExpr::CK_NonVirtualBase: in checkPreCall()
77 case CXXConstructExpr::CK_VirtualBase: in checkPreCall()
155 case CXXConstructExpr::CK_Complete: in checkPostCall()
156 case CXXConstructExpr::CK_Delegating: in checkPostCall()
163 case CXXConstructExpr::CK_NonVirtualBase: in checkPostCall()
164 case CXXConstructExpr::CK_VirtualBase: in checkPostCall()
DLLVMConventionsChecker.cpp165 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl()
171 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl()
DStackAddrEscapeChecker.cpp156 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
DDeadStoresChecker.cpp339 if (isa<CXXConstructExpr>(E)) in observeStmt()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp107 const CXXConstructExpr *CE, ExplodedNode *Pred, ExprEngine &Eng, in getRegionForConstructedObject()
177 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE, in VisitCXXConstructExpr()
190 case CXXConstructExpr::CK_Complete: { in VisitCXXConstructExpr()
194 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr()
198 const CXXConstructExpr *OuterCtor = dyn_cast<CXXConstructExpr>(Outer); in VisitCXXConstructExpr()
201 case CXXConstructExpr::CK_NonVirtualBase: in VisitCXXConstructExpr()
202 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr()
206 case CXXConstructExpr::CK_Complete: in VisitCXXConstructExpr()
207 case CXXConstructExpr::CK_Delegating: in VisitCXXConstructExpr()
213 case CXXConstructExpr::CK_NonVirtualBase: 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()
558 if (isTemporaryPRValue(cast<CXXConstructExpr>(E), ThisV)) in bindReturnValue()
621 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
642 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete) in mayInlineCallKind()
DCallEvent.cpp239 || isa<CXXConstructExpr>(S) in isCallStmt()
943 return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite), in getCaller()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp393 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, in EmitCXXConstructExpr()
404 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
405 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
408 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
409 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
440 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
446 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
450 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
454 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
470 assert(isa<CXXConstructExpr>(Exp) && in EmitSynthesizedCXXCopyCtor()
[all …]
DCGClass.cpp582 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
1023 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1616 llvm::Value *arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) { in EmitCXXAggrConstructorCall()
1636 const CXXConstructExpr *E, in EmitCXXAggrConstructorCall()
1736 const CXXConstructExpr *E) { in EmitCXXConstructorCall()
1788 const CXXConstructExpr *E) { in EmitSynthesizedCXXCopyCtorCall()
2289 if (isa<CXXConstructExpr>(Base)) in CanDevirtualizeMemberFunctionCall()
DCGObjC.cpp764 if (const CXXConstructExpr *construct = dyn_cast<CXXConstructExpr>(getter)) in hasTrivialGetExpr()
2994 CXXConstructExpr *CXXConstExpr = in GenerateObjCAtomicGetterCopyHelperFunction()
2995 cast<CXXConstructExpr>(PID->getGetterCXXConstructor()); in GenerateObjCAtomicGetterCopyHelperFunction()
2999 CXXConstructExpr::arg_iterator A = CXXConstExpr->arg_begin(); in GenerateObjCAtomicGetterCopyHelperFunction()
3002 for (CXXConstructExpr::arg_iterator AEnd = CXXConstExpr->arg_end(); in GenerateObjCAtomicGetterCopyHelperFunction()
3006 CXXConstructExpr *TheCXXConstructExpr = in GenerateObjCAtomicGetterCopyHelperFunction()
3007 CXXConstructExpr::Create(C, Ty, SourceLocation(), in GenerateObjCAtomicGetterCopyHelperFunction()
DCodeGenFunction.h1701 llvm::Value *This, const CXXConstructExpr *E);
1705 const CXXConstructExpr *E);
1710 const CXXConstructExpr *E,
1716 const CXXConstructExpr *E,
2386 LValue EmitCXXConstructLValue(const CXXConstructExpr *E);
2715 void EmitCXXConstructExpr(const CXXConstructExpr *E, AggValueSlot Dest);
DCGExprAgg.cpp174 void VisitCXXConstructExpr(const CXXConstructExpr *E);
393 if (auto *Cons = dyn_cast_or_null<CXXConstructExpr>(E)) in isTrivialFiller()
986 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.cpp543 } else if (CXXConstructExpr *Construct in VisitFunctionDecl()
544 = dyn_cast<CXXConstructExpr>(Init)) { in VisitFunctionDecl()
696 if (CXXConstructExpr *Construct = in VisitVarDecl()
697 dyn_cast<CXXConstructExpr>(Init->IgnoreImplicit())) { in VisitVarDecl()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h698 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
710 virtual const CXXConstructExpr *getOriginExpr() const { in getOriginExpr()
711 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
966 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
DExprEngine.h33 class CXXConstructExpr; variable
431 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
/external/clang/include/clang/Basic/
DStmtNodes.td121 def CXXConstructExpr : DStmt<Expr>;
124 def CXXTemporaryObjectExpr : DStmt<CXXConstructExpr>;
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp120 bool VisitCXXConstructExpr(CXXConstructExpr* Expr) { in VisitCXXConstructExpr()
/external/clang/tools/libclang/
DIndexBody.cpp122 bool VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
/external/clang/include/clang/AST/
DExprCXX.h1075 class CXXConstructExpr : public Expr {
1099 CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T,
1111 CXXConstructExpr(StmtClass SC, EmptyShell Empty) in CXXConstructExpr() function
1119 explicit CXXConstructExpr(EmptyShell Empty) in CXXConstructExpr() function
1126 static CXXConstructExpr *Create(const ASTContext &C, QualType T,
1196 return const_cast<CXXConstructExpr *>(this)->getArgs(); in getArgs()
1295 class CXXTemporaryObjectExpr : public CXXConstructExpr {
1308 : CXXConstructExpr(CXXTemporaryObjectExprClass, Empty), Type() { } in CXXTemporaryObjectExpr()
1756 const CXXConstructExpr* getConstructExpr() const { in getConstructExpr()
1757 return dyn_cast_or_null<CXXConstructExpr>(getInitializer()); in getConstructExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h972 CXXConstructExpr> constructExpr;
2432 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
2448 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument
2592 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P() argument
2605 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
/external/clang/lib/Sema/
DSemaFixItUtils.cpp74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
DJumpDiagnostics.cpp184 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in GetDiagForGotoScopeDecl()

123