Home
last modified time | relevance | path

Searched refs:CXXConstructExpr (Results 1 – 25 of 71) 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.cpp202 static bool isTemporaryPRValue(const CXXConstructExpr *E, SVal V) { in isTemporaryPRValue()
268 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit()
546 if (isTemporaryPRValue(cast<CXXConstructExpr>(E), ThisV)) in bindReturnValue()
609 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in mayInlineCallKind()
630 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete) in mayInlineCallKind()
/external/v8/tools/clang/empty_string/
DEmptyStringConverter.cpp116 const clang::CXXConstructExpr* call = in run()
117 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call"); in run()
130 const clang::CXXConstructExpr* call = in run()
131 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call"); in run()
142 const clang::CXXConstructExpr* call = in run()
143 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call"); in run()
/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()
/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/lib/CodeGen/
DCGExprCXX.cpp440 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, in EmitCXXConstructExpr()
451 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
452 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
455 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
456 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
488 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
494 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
498 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
502 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
516 assert(isa<CXXConstructExpr>(Exp) && in EmitSynthesizedCXXCopyCtor()
[all …]
DCGClass.cpp725 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in EmitMemberInitializer()
1147 CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(MemberInit->getInit()); in isMemberInitMemcpyable()
1919 Address arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) { in EmitCXXAggrConstructorCall()
1939 const CXXConstructExpr *E, in EmitCXXAggrConstructorCall()
2050 const CXXConstructExpr *E) { in EmitCXXConstructorCall()
2292 const CXXConstructExpr *E) { in EmitSynthesizedCXXCopyCtorCall()
2883 if (isa<CXXConstructExpr>(Base)) in CanDevirtualizeMemberFunctionCall()
DCGExprAgg.cpp177 void VisitCXXConstructExpr(const CXXConstructExpr *E);
393 if (auto *Cons = dyn_cast_or_null<CXXConstructExpr>(E)) in isTrivialFiller()
997 AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp144 } else if (const clang::CXXConstructExpr* constructor_expr = in run()
145 result.Nodes.getNodeAs<clang::CXXConstructExpr>( in run()
216 void AddConstructor(const clang::CXXConstructExpr* constructor_expr, in AddConstructor()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h33 class CXXConstructExpr; variable
446 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
624 const CXXConstructExpr *findDirectConstructorForCurrentCFGElement();
638 const MemRegion *getRegionForConstructedObject(const CXXConstructExpr *CE,
DCallEvent.h787 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
800 virtual const CXXConstructExpr *getOriginExpr() const { in getOriginExpr()
801 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
1062 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
/external/clang/lib/AST/
DExprCXX.cpp407 SourceLocation CXXConstructExpr::getLocStart() const { in getLocStart()
413 SourceLocation CXXConstructExpr::getLocEnd() const { in getLocEnd()
728 : CXXConstructExpr(C, CXXTemporaryObjectExprClass, in CXXTemporaryObjectExpr()
736 CXXConstructExpr::CK_Complete, ParenOrBraceRange), in CXXTemporaryObjectExpr()
751 CXXConstructExpr *CXXConstructExpr::Create(const ASTContext &C, QualType T, in Create()
762 return new (C) CXXConstructExpr(C, CXXConstructExprClass, T, Loc, in Create()
770 CXXConstructExpr::CXXConstructExpr(const ASTContext &C, StmtClass SC, in CXXConstructExpr() function in CXXConstructExpr
DDeclPrinter.cpp593 } else if (CXXConstructExpr *Construct in VisitFunctionDecl()
594 = dyn_cast<CXXConstructExpr>(Init)) { in VisitFunctionDecl()
755 if (CXXConstructExpr *Construct = in VisitVarDecl()
756 dyn_cast<CXXConstructExpr>(Init->IgnoreImplicit())) { in VisitVarDecl()
/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/test/Misc/
Dast-dump-decl.mm21 // CHECK-NEXT: CXXConstructExpr
/external/clang/include/clang/AST/
DExprCXX.h1162 class CXXConstructExpr : public Expr {
1188 CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T,
1201 CXXConstructExpr(StmtClass SC, EmptyShell Empty) in CXXConstructExpr() function
1209 explicit CXXConstructExpr(EmptyShell Empty) in CXXConstructExpr() function
1210 : CXXConstructExpr(CXXConstructExprClass, Empty) {} in CXXConstructExpr()
1212 static CXXConstructExpr *Create(const ASTContext &C, QualType T,
1283 return const_cast<CXXConstructExpr *>(this)->getArgs(); in getArgs()
1363 CXXConstructExpr::ConstructionKind getConstructionKind() const { in getConstructionKind()
1364 return ConstructsVirtualBase ? CXXConstructExpr::CK_VirtualBase in getConstructionKind()
1365 : CXXConstructExpr::CK_NonVirtualBase; in getConstructionKind()
[all …]
/external/clang/lib/Sema/
DSemaCUDA.cpp379 if (const CXXConstructExpr *CE = in isEmptyCudaConstructor()
380 dyn_cast<CXXConstructExpr>(CI->getInit())) in isEmptyCudaConstructor()
DSemaFixItUtils.cpp74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
DJumpDiagnostics.cpp187 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in GetDiagForGotoScopeDecl()
/external/clang/include/clang/Basic/
DStmtNodes.td128 def CXXConstructExpr : DStmt<Expr>;
132 def CXXTemporaryObjectExpr : DStmt<CXXConstructExpr>;
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTestExprVisitor.cpp120 bool VisitCXXConstructExpr(CXXConstructExpr* Expr) { in VisitCXXConstructExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1238 CXXConstructExpr> cxxConstructExpr;
2916 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P() argument
2932 CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2() argument
3130 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P() argument
3143 AST_MATCHER(CXXConstructExpr, isListInitialization) { in AST_MATCHER() argument
3159 AST_MATCHER(CXXConstructExpr, requiresZeroInitialization) { in AST_MATCHER() argument
3201 CXXConstructExpr), in AST_POLYMORPHIC_MATCHER_P2() argument
/external/clang/lib/Index/
DIndexBody.cpp246 bool VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()

123