diff options
-rw-r--r-- | include/clang/AST/Stmt.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/AST/Stmt.h b/include/clang/AST/Stmt.h index 61f8b9c9ad..3f76c95fb5 100644 --- a/include/clang/AST/Stmt.h +++ b/include/clang/AST/Stmt.h @@ -130,7 +130,11 @@ public: void* operator new(size_t bytes, void* mem) throw() { return mem; } - + + void operator delete(void*, ASTContext& C) throw() { } + void operator delete(void*, ASTContext& C, unsigned alignment) throw() { } + void operator delete(void*, std::size_t) throw() { } + protected: /// DestroyChildren - Invoked by destructors of subclasses of Stmt to /// recursively release child AST nodes. |