diff options
-rw-r--r-- | clang/include/clang/AST/ASTContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/AST/ASTContext.h b/clang/include/clang/AST/ASTContext.h index 9ae6c85e910..12f89c3fb96 100644 --- a/clang/include/clang/AST/ASTContext.h +++ b/clang/include/clang/AST/ASTContext.h @@ -589,7 +589,7 @@ inline void *operator new(size_t Bytes, clang::ASTContext &C, /// invoking it directly; see the new operator for more details. This operator /// is called implicitly by the compiler if a placement new expression using /// the ASTContext throws in the object constructor. -inline void operator delete(void *Ptr, clang::ASTContext &C, size_t = 16) +inline void operator delete(void *Ptr, clang::ASTContext &C) throw () { C.getAllocator().Deallocate(Ptr); } |