/external/clang/unittests/AST/ |
SourceLocationTest.cpp | 92 TEST(CXXNewExpr, ArrayRange) { 93 RangeVerifier<CXXNewExpr> Verifier; 95 EXPECT_TRUE(Verifier.match("void f() { new int[10]; }", cxxNewExpr())); 98 TEST(CXXNewExpr, ParenRange) { 99 RangeVerifier<CXXNewExpr> Verifier; 101 EXPECT_TRUE(Verifier.match("void f() { new int(); }", cxxNewExpr())); 221 TEST(CXXNewExpr, TypeParenRange) { 222 RangeVerifier<CXXNewExpr> Verifier; 224 EXPECT_TRUE(Verifier.match("int* a = new (int);", cxxNewExpr()));
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
PointerArithChecker.cpp | 49 check::PostStmt<CastExpr>, check::PostStmt<CXXNewExpr>, 51 AllocKind getKindOfNewOp(const CXXNewExpr *NE, const FunctionDecl *FD) const; 70 void checkPostStmt(const CXXNewExpr *NE, CheckerContext &C) const; 92 AllocKind PointerArithChecker::getKindOfNewOp(const CXXNewExpr *NE, 243 void PointerArithChecker::checkPostStmt(const CXXNewExpr *NE,
|
MallocChecker.cpp | 164 check::PostStmt<CXXNewExpr>, 203 void checkPostStmt(const CXXNewExpr *NE, CheckerContext &C) const; 430 return (Stmt && (isa<CallExpr>(Stmt) || isa<CXXNewExpr>(Stmt)) && 814 // processed by the checkPostStmt callbacks for CXXNewExpr and [all...] |
DynamicTypePropagation.cpp | 55 check::PostStmt<CXXNewExpr>, 105 void checkPostStmt(const CXXNewExpr *NewE, CheckerContext &C) const; 294 void DynamicTypePropagation::checkPostStmt(const CXXNewExpr *NewE, [all...] |
/external/clang/lib/CodeGen/ |
CGCXXABI.cpp | 193 CharUnits CGCXXABI::GetArrayCookieSize(const CXXNewExpr *expr) { 207 const CXXNewExpr *expr, 224 bool CGCXXABI::requiresArrayCookie(const CXXNewExpr *expr) {
|
CGCXXABI.h | 82 virtual bool requiresArrayCookie(const CXXNewExpr *E); 464 virtual CharUnits GetArrayCookieSize(const CXXNewExpr *expr); 478 const CXXNewExpr *expr,
|
CGExprCXX.cpp | 535 const CXXNewExpr *E) { 548 const CXXNewExpr *e, [all...] |
ItaniumCXXABI.cpp | 306 const CXXNewExpr *expr, 420 const CXXNewExpr *expr, [all...] |
MicrosoftCXXABI.cpp | 419 bool requiresArrayCookie(const CXXNewExpr *expr) override; 424 const CXXNewExpr *expr, [all...] |
/external/v8/tools/clang/value_cleanup/ |
ListValueRewriter.cpp | 121 const clang::CXXNewExpr* new_expr = clang::dyn_cast<clang::CXXNewExpr>(rhs); 161 auto* newExpr = result.Nodes.getNodeAs<clang::CXXNewExpr>("newExpr"); 363 cxxNewExpr(has(cxxConstructExpr( 382 cxxNewExpr(has(cxxConstructExpr( 401 cxxNewExpr(has(cxxConstructExpr( 420 cxxNewExpr(has(cxxConstructExpr( 476 // CXXNewExpr is wrapped in an 478 ignoringParenImpCasts(cxxNewExpr())),
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ExprEngine.h | 35 class CXXNewExpr; 203 void ProcessNewAllocator(const CXXNewExpr *NE, ExplodedNode *Pred); 453 void VisitCXXNewAllocatorCall(const CXXNewExpr *CNE, 457 void VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred,
|
CallEvent.h | 834 CXXAllocatorCall(const CXXNewExpr *E, ProgramStateRef St, 842 virtual const CXXNewExpr *getOriginExpr() const { 843 return cast<CXXNewExpr>(AnyFunctionCall::getOriginExpr()); [all...] |
/external/clang/include/clang/Analysis/ |
CFG.h | 49 class CXXNewExpr; 153 explicit CFGNewAllocator(const CXXNewExpr *S) 157 const CXXNewExpr *getAllocatorExpr() const { 158 return static_cast<CXXNewExpr *>(Data1.getPointer()); 664 void appendNewAllocator(CXXNewExpr *NE, [all...] |
/external/clang/lib/Sema/ |
SemaFixItUtils.cpp | 73 isa<CXXNewExpr>(Expr) ||
|
SemaExprCXX.cpp | [all...] |
SemaExceptionSpec.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCXX.cpp | 400 void ExprEngine::VisitCXXNewAllocatorCall(const CXXNewExpr *CNE, 426 void ExprEngine::VisitCXXNewExpr(const CXXNewExpr *CNE, ExplodedNode *Pred, 430 // really part of the CXXNewExpr because they happen BEFORE the 502 // CXXNewExpr, we need to make sure that the constructed object is not
|
CallEvent.cpp | 268 || isa<CXXNewExpr>(S); [all...] |
ExprEngineCallAndReturn.cpp | 611 if (isa<CXXNewExpr>(Parent)) [all...] |
/external/clang/lib/AST/ |
ExprCXX.cpp | 62 // CXXNewExpr 63 CXXNewExpr::CXXNewExpr(const ASTContext &C, bool globalNew, 127 void CXXNewExpr::AllocateArgsArray(const ASTContext &C, bool isArray, 137 bool CXXNewExpr::shouldNullCheckAllocation(const ASTContext &Ctx) const { [all...] |
StmtPrinter.cpp | [all...] |
ItaniumMangle.cpp | [all...] |
/external/v8/tools/gcmole/ |
gcmole.cc | 551 VISIT(CXXNewExpr); 701 DECL_VISIT_EXPR(CXXNewExpr) { return VisitExpr(expr->getInitializer(), env); } [all...] |
/external/clang/lib/Analysis/ |
CFG.cpp | 443 CFGBlock *VisitCXXNewExpr(CXXNewExpr *DE, AddStmtChoice asc); 606 void appendNewAllocator(CFGBlock *B, CXXNewExpr *NE) { [all...] |
/external/clang/include/clang/AST/ |
ExprCXX.h | [all...] |