/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 92 TEST(CXXNewExpr, ArrayRange) { in TEST() argument 93 RangeVerifier<CXXNewExpr> Verifier; in TEST() 98 TEST(CXXNewExpr, ParenRange) { in TEST() argument 99 RangeVerifier<CXXNewExpr> Verifier; in TEST() 221 TEST(CXXNewExpr, TypeParenRange) { in TEST() argument 222 RangeVerifier<CXXNewExpr> Verifier; in TEST()
|
/external/clang/lib/CodeGen/ |
D | CGCXXABI.cpp | 193 CharUnits CGCXXABI::GetArrayCookieSize(const CXXNewExpr *expr) { in GetArrayCookieSize() 207 const CXXNewExpr *expr, in InitializeArrayCookie() 224 bool CGCXXABI::requiresArrayCookie(const CXXNewExpr *expr) { in requiresArrayCookie()
|
D | CGCXXABI.h | 82 virtual bool requiresArrayCookie(const CXXNewExpr *E); 448 virtual CharUnits GetArrayCookieSize(const CXXNewExpr *expr); 462 const CXXNewExpr *expr,
|
D | CGExprCXX.cpp | 530 const CXXNewExpr *E) { in CalculateCookiePadding() 543 const CXXNewExpr *e, in EmitCXXNewAllocSize() 827 const CXXNewExpr *E, QualType ElementType, llvm::Type *ElementTy, in EmitNewArrayInitializer() 1090 static void EmitNewInitializer(CodeGenFunction &CGF, const CXXNewExpr *E, in EmitNewInitializer() 1270 const CXXNewExpr *E, in EnterNewDeleteCleanup() 1308 llvm::Value *CodeGenFunction::EmitCXXNewExpr(const CXXNewExpr *E) { in EmitCXXNewExpr()
|
D | ItaniumCXXABI.cpp | 314 const CXXNewExpr *expr, 428 const CXXNewExpr *expr, 1741 const CXXNewExpr *expr, in InitializeArrayCookie() 1825 const CXXNewExpr *expr, in InitializeArrayCookie()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExprEngine.h | 35 class CXXNewExpr; variable 203 void ProcessNewAllocator(const CXXNewExpr *NE, ExplodedNode *Pred); 442 void VisitCXXNewAllocatorCall(const CXXNewExpr *CNE, 446 void VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,
|
D | CallEvent.h | 802 CXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef St, in CXXAllocatorCall() 810 virtual const CXXNewExpr *getOriginExpr() const { in getOriginExpr() 811 return cast<CXXNewExpr>(AnyFunctionCall::getOriginExpr()); in getOriginExpr() 1038 getCXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef State, in getCXXAllocatorCall()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 49 class CXXNewExpr; variable 153 explicit CFGNewAllocator(const CXXNewExpr *S) in CFGNewAllocator() 157 const CXXNewExpr *getAllocatorExpr() const { in getAllocatorExpr() 158 return static_cast<CXXNewExpr *>(Data1.getPointer()); in getAllocatorExpr() 664 void appendNewAllocator(CXXNewExpr *NE, in appendNewAllocator()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 163 check::PostStmt<CXXNewExpr>, 201 void checkPostStmt(const CXXNewExpr *NE, CheckerContext &C) const; 427 return (Stmt && (isa<CallExpr>(Stmt) || isa<CXXNewExpr>(Stmt)) && in isAllocated() 862 else if (const CXXNewExpr *NE = dyn_cast<CXXNewExpr>(E)) { in ProcessZeroAllocation() 924 static bool treatUnusedNewEscaped(const CXXNewExpr *NE) { in treatUnusedNewEscaped() 951 void MallocChecker::checkPostStmt(const CXXNewExpr *NE, in checkPostStmt() 955 for (CXXNewExpr::const_arg_iterator I = NE->placement_arg_begin(), in checkPostStmt() 1224 if (const CXXNewExpr *NE = dyn_cast<CXXNewExpr>(S)) in getAllocationFamily() 1259 if (const CXXNewExpr *NE = dyn_cast<CXXNewExpr>(E)) { in printAllocDeallocName()
|
D | DynamicTypePropagation.cpp | 55 check::PostStmt<CXXNewExpr>, 104 void checkPostStmt(const CXXNewExpr *NewE, CheckerContext &C) const; 294 void DynamicTypePropagation::checkPostStmt(const CXXNewExpr *NewE, in checkPostStmt()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 1246 static bool isLegalArrayNewInitializer(CXXNewExpr::InitializationStyle Style, in isLegalArrayNewInitializer() 1257 else if (Style == CXXNewExpr::ListInit) { in isLegalArrayNewInitializer() 1280 CXXNewExpr::InitializationStyle initStyle; in BuildCXXNew() 1283 initStyle = CXXNewExpr::CallInit; in BuildCXXNew() 1285 initStyle = CXXNewExpr::ListInit; in BuildCXXNew() 1290 initStyle = CXXNewExpr::NoInit; in BuildCXXNew() 1296 assert(initStyle == CXXNewExpr::CallInit && "paren init for non-call init"); in BuildCXXNew() 1303 if (initStyle == CXXNewExpr::NoInit || NumInits == 0) in BuildCXXNew() 1306 if (initStyle == CXXNewExpr::ListInit || in BuildCXXNew() 1343 if (initStyle == CXXNewExpr::ListInit && in BuildCXXNew() [all …]
|
D | SemaFixItUtils.cpp | 73 isa<CXXNewExpr>(Expr) || in tryToFixConversion()
|
D | SemaExceptionSpec.cpp | 1014 CT = canCalleeThrow(*this, E, cast<CXXNewExpr>(E)->getOperatorNew()); in canThrow()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 400 void ExprEngine::VisitCXXNewAllocatorCall(const CXXNewExpr *CNE, in VisitCXXNewAllocatorCall() 426 void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred, in VisitCXXNewExpr()
|
D | CallEvent.cpp | 258 || isa<CXXNewExpr>(S); in isCallStmt() 1005 return getCXXAllocatorCall(cast<CXXNewExpr>(CallSite), State, CallerCtx); in getCaller()
|
D | ExprEngineCallAndReturn.cpp | 624 if (isa<CXXNewExpr>(Parent)) in mayInlineCallKind()
|
/external/clang/lib/AST/ |
D | ExprCXX.cpp | 136 CXXNewExpr::CXXNewExpr(const ASTContext &C, bool globalNew, in CXXNewExpr() function in CXXNewExpr 200 void CXXNewExpr::AllocateArgsArray(const ASTContext &C, bool isArray, in AllocateArgsArray() 210 bool CXXNewExpr::shouldNullCheckAllocation(const ASTContext &Ctx) const { in shouldNullCheckAllocation()
|
D | StmtPrinter.cpp | 2013 void StmtPrinter::VisitCXXNewExpr(CXXNewExpr *E) { in VisitCXXNewExpr() 2042 CXXNewExpr::InitializationStyle InitStyle = E->getInitializationStyle(); in VisitCXXNewExpr() 2044 if (InitStyle == CXXNewExpr::CallInit) in VisitCXXNewExpr() 2047 if (InitStyle == CXXNewExpr::CallInit) in VisitCXXNewExpr()
|
D | ItaniumMangle.cpp | 2963 const CXXNewExpr *New = cast<CXXNewExpr>(E); in mangleExpression() 2966 for (CXXNewExpr::const_arg_iterator I = New->placement_arg_begin(), in mangleExpression() 2972 if (New->getInitializationStyle() == CXXNewExpr::ListInit) in mangleExpression() 2986 } else if (New->getInitializationStyle() == CXXNewExpr::ListInit && in mangleExpression()
|
D | ASTDumper.cpp | 517 void VisitCXXNewExpr(const CXXNewExpr *Node); 1979 void ASTDumper::VisitCXXNewExpr(const CXXNewExpr *Node) { in VisitCXXNewExpr()
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 121 def CXXNewExpr : DStmt<Expr>;
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 443 CFGBlock *VisitCXXNewExpr(CXXNewExpr *DE, AddStmtChoice asc); 606 void appendNewAllocator(CFGBlock *B, CXXNewExpr *NE) { in appendNewAllocator() 1506 return VisitCXXNewExpr(cast<CXXNewExpr>(S), asc); in Visit() 3531 CFGBlock *CFGBuilder::VisitCXXNewExpr(CXXNewExpr *NE, in VisitCXXNewExpr() 3543 for (CXXNewExpr::arg_iterator I = NE->placement_arg_begin(), in VisitCXXNewExpr() 4270 if (const CXXNewExpr *AllocExpr = NE->getAllocatorExpr()) in print_elem()
|
/external/v8/tools/gcmole/ |
D | gcmole.cc | 551 VISIT(CXXNewExpr); in VisitExpr() 701 DECL_VISIT_EXPR(CXXNewExpr) { return VisitExpr(expr->getInitializer(), env); } in DECL_VISIT_EXPR() argument
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 1735 class CXXNewExpr : public Expr { 1781 CXXNewExpr(const ASTContext &C, bool globalNew, FunctionDecl *operatorNew, 1788 explicit CXXNewExpr(EmptyShell Shell) in CXXNewExpr() function 1844 return const_cast<CXXNewExpr*>(this)->getPlacementArg(i); in getPlacementArg()
|
/external/clang/lib/Edit/ |
D | RewriteObjCFoundationAPI.cpp | 917 isa<CXXNewExpr>(Expr) || in castOperatorNeedsParens()
|