Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Checkers/
DDynamicTypePropagation.cpp70 case CXXConstructExpr::CK_Complete: in checkPreCall()
71 case CXXConstructExpr::CK_Delegating: in checkPreCall()
74 case CXXConstructExpr::CK_NonVirtualBase: in checkPreCall()
75 case CXXConstructExpr::CK_VirtualBase: in checkPreCall()
152 case CXXConstructExpr::CK_Complete: in checkPostCall()
153 case CXXConstructExpr::CK_Delegating: in checkPostCall()
160 case CXXConstructExpr::CK_NonVirtualBase: in checkPostCall()
161 case CXXConstructExpr::CK_VirtualBase: in checkPostCall()
DLLVMConventionsChecker.cpp160 CXXConstructExpr *Ex2 = dyn_cast<CXXConstructExpr>(Ex1->getSubExpr()); in VisitVarDecl()
166 CXXConstructExpr *Ex4 = dyn_cast<CXXConstructExpr>(Ex3->getSubExpr()); in VisitVarDecl()
DStackAddrEscapeChecker.cpp152 if (isa<CXXConstructExpr>(RetE) && RetE->getType()->isRecordType()) in checkPreStmt()
DDeadStoresChecker.cpp334 if (isa<CXXConstructExpr>(E)) in observeStmt()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp52 void ExprEngine::VisitCXXConstructExpr(const CXXConstructExpr *CE, in VisitCXXConstructExpr()
61 case CXXConstructExpr::CK_Complete: { in VisitCXXConstructExpr()
121 case CXXConstructExpr::CK_NonVirtualBase: in VisitCXXConstructExpr()
122 case CXXConstructExpr::CK_VirtualBase: in VisitCXXConstructExpr()
123 case CXXConstructExpr::CK_Delegating: { in VisitCXXConstructExpr()
129 if (CE->getConstructionKind() == CXXConstructExpr::CK_Delegating) { in VisitCXXConstructExpr()
263 if (!isa<CXXConstructExpr>(Init)) { in VisitCXXNewExpr()
DExprEngineCallAndReturn.cpp158 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(CE)) { in processCallExit()
384 const CXXConstructExpr *CtorExpr = Ctor.getOriginExpr(); in inlineCall()
405 if (CtorExpr->getConstructionKind() == CXXConstructExpr::CK_Complete) in inlineCall()
DCallEvent.cpp251 || isa<CXXConstructExpr>(S) in isCallStmt()
880 return getCXXConstructorCall(cast<CXXConstructExpr>(CallSite), in getCaller()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp141 if (isa<CXXConstructExpr>(Base)) in canDevirtualizeMemberFunctionCalls()
439 CodeGenFunction::EmitCXXConstructExpr(const CXXConstructExpr *E, in EmitCXXConstructExpr()
450 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
451 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
454 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
455 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
486 case CXXConstructExpr::CK_Delegating: in EmitCXXConstructExpr()
491 case CXXConstructExpr::CK_Complete: in EmitCXXConstructExpr()
495 case CXXConstructExpr::CK_VirtualBase: in EmitCXXConstructExpr()
499 case CXXConstructExpr::CK_NonVirtualBase: in EmitCXXConstructExpr()
[all …]
DCGExprAgg.cpp166 void VisitCXXConstructExpr(const CXXConstructExpr *E);
457 if (CXXConstructExpr *cons = dyn_cast_or_null<CXXConstructExpr>(filler)) { in EmitArrayInit()
870 AggExprEmitter::VisitCXXConstructExpr(const CXXConstructExpr *E) { in VisitCXXConstructExpr()
DCGObjC.cpp742 if (const CXXConstructExpr *construct = dyn_cast<CXXConstructExpr>(getter)) in hasTrivialGetExpr()
2936 CXXConstructExpr *CXXConstExpr = in GenerateObjCAtomicGetterCopyHelperFunction()
2937 cast<CXXConstructExpr>(PID->getGetterCXXConstructor()); in GenerateObjCAtomicGetterCopyHelperFunction()
2941 CXXConstructExpr::arg_iterator A = CXXConstExpr->arg_begin(); in GenerateObjCAtomicGetterCopyHelperFunction()
2944 for (CXXConstructExpr::arg_iterator AEnd = CXXConstExpr->arg_end(); in GenerateObjCAtomicGetterCopyHelperFunction()
2948 CXXConstructExpr *TheCXXConstructExpr = in GenerateObjCAtomicGetterCopyHelperFunction()
2949 CXXConstructExpr::Create(C, Ty, SourceLocation(), in GenerateObjCAtomicGetterCopyHelperFunction()
/external/clang/lib/AST/
DExprCXX.cpp406 SourceRange CXXConstructExpr::getSourceRange() const { in getSourceRange()
704 : CXXConstructExpr(C, CXXTemporaryObjectExprClass, in CXXTemporaryObjectExpr()
709 CXXConstructExpr::CK_Complete, parenRange), in CXXTemporaryObjectExpr()
718 CXXConstructExpr *CXXConstructExpr::Create(ASTContext &C, QualType T, in Create()
727 return new (C) CXXConstructExpr(C, CXXConstructExprClass, T, Loc, D, in Create()
734 CXXConstructExpr::CXXConstructExpr(ASTContext &C, StmtClass SC, QualType T, in CXXConstructExpr() function in CXXConstructExpr
DDeclPrinter.cpp521 } else if (CXXConstructExpr *Construct in VisitFunctionDecl()
522 = dyn_cast<CXXConstructExpr>(Init)) { in VisitFunctionDecl()
623 if (CXXConstructExpr *Construct = dyn_cast<CXXConstructExpr>(Init)) in VisitVarDecl()
DStmtDumper.cpp160 void VisitCXXConstructExpr(CXXConstructExpr *Node);
574 void StmtDumper::VisitCXXConstructExpr(CXXConstructExpr *Node) { in VisitCXXConstructExpr()
DItaniumMangle.cpp2512 if (const CXXConstructExpr *CCE = dyn_cast<CXXConstructExpr>(Init)) { in mangleExpression()
2514 for (CXXConstructExpr::const_arg_iterator I = CCE->arg_begin(), in mangleExpression()
2589 const CXXConstructExpr *CE = cast<CXXConstructExpr>(E); in mangleExpression()
DExpr.cpp1501 SubExpr = cast<CXXConstructExpr>(SubExpr)->getArg(0); in getSubExprAsWritten()
2535 const CXXConstructExpr *CE = cast<CXXConstructExpr>(this); in isConstantInitializer()
2772 const CXXConstructExpr *CE = cast<CXXConstructExpr>(this); in HasSideEffects()
2858 void VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
3687 e = cast<CXXConstructExpr>(e)->getArg(0); in findInCopyConstruct()
/external/clang/include/clang/Basic/
DStmtNodes.td120 def CXXConstructExpr : DStmt<Expr>;
123 def CXXTemporaryObjectExpr : DStmt<CXXConstructExpr>;
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h662 CXXConstructorCall(const CXXConstructExpr *CE, const MemRegion *Target, in CXXConstructorCall()
674 virtual const CXXConstructExpr *getOriginExpr() const { in getOriginExpr()
675 return cast<CXXConstructExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr()
920 getCXXConstructorCall(const CXXConstructExpr *E, const MemRegion *Target, in getCXXConstructorCall()
DExprEngine.h32 class CXXConstructExpr; variable
385 void VisitCXXConstructExpr(const CXXConstructExpr *E, ExplodedNode *Pred,
/external/clang/tools/libclang/
DIndexBody.cpp120 bool VisitCXXConstructExpr(CXXConstructExpr *E) { in VisitCXXConstructExpr()
/external/clang/include/clang/AST/
DExprCXX.h884 class CXXConstructExpr : public Expr {
907 CXXConstructExpr(ASTContext &C, StmtClass SC, QualType T,
918 CXXConstructExpr(StmtClass SC, EmptyShell Empty) in CXXConstructExpr() function
926 explicit CXXConstructExpr(EmptyShell Empty) in CXXConstructExpr() function
933 static CXXConstructExpr *Create(ASTContext &C, QualType T,
1013 static bool classof(const CXXConstructExpr *) { return true; } in classof() argument
1086 class CXXTemporaryObjectExpr : public CXXConstructExpr {
1097 : CXXConstructExpr(CXXTemporaryObjectExprClass, Empty), Type() { } in CXXTemporaryObjectExpr()
1585 const CXXConstructExpr* getConstructExpr() const { in getConstructExpr()
1586 return dyn_cast_or_null<CXXConstructExpr>(getInitializer()); in getConstructExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h536 CXXConstructExpr> constructExpr;
1562 llvm::is_base_of<CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P()
1579 llvm::is_base_of<CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P2()
1730 llvm::is_base_of<CXXConstructExpr, in AST_POLYMORPHIC_MATCHER_P()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp74 isa<CXXConstructExpr>(Expr) || in tryToFixConversion()
DJumpDiagnostics.cpp177 if (const CXXConstructExpr *cce = dyn_cast<CXXConstructExpr>(init)) { in GetDiagForGotoScopeDecl()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp405 bool VisitCXXConstructExpr(CXXConstructExpr* Expr) { in VisitCXXConstructExpr()
/external/clang/lib/Analysis/
DThreadSafety.cpp490 } else if (CXXConstructExpr *CE = dyn_cast<CXXConstructExpr>(DeclExp)) { in buildSExprFromExpr()
1730 void VisitCXXConstructExpr(CXXConstructExpr *Exp);
2024 void BuildLockset::VisitCXXConstructExpr(CXXConstructExpr *Exp) { in VisitCXXConstructExpr()
2041 if (CXXConstructExpr *CE = dyn_cast_or_null<CXXConstructExpr>(E)) { in VisitDeclStmt()

123