Remove Stmt::operator new that takes a ASTContext*. All callers use the ASTContext& version.

llvm-svn: 188644
This commit is contained in:
Craig Topper 2013-08-18 20:03:21 +00:00
parent 55349a29c6
commit 260f7e6893
2 changed files with 0 additions and 8 deletions

View File

@ -315,9 +315,6 @@ public:
void* operator new(size_t bytes, const ASTContext& C,
unsigned alignment = 8);
void* operator new(size_t bytes, const ASTContext* C,
unsigned alignment = 8);
void* operator new(size_t bytes, void* mem) throw() {
return mem;
}

View File

@ -54,11 +54,6 @@ void *Stmt::operator new(size_t bytes, const ASTContext& C,
return ::operator new(bytes, C, alignment);
}
void *Stmt::operator new(size_t bytes, const ASTContext* C,
unsigned alignment) {
return ::operator new(bytes, *C, alignment);
}
const char *Stmt::getStmtClassName() const {
return getStmtInfoTableEntry((StmtClass) StmtBits.sClass).Name;
}