Some of the build bots are unhappy about the overload of the global operator new() because it was accidentally marked noexcept instead of noexcept(false). This should correct those bots.

llvm-svn: 248797
This commit is contained in:
Aaron Ballman 2015-09-29 14:26:00 +00:00
parent 897048bee3
commit 0f28d62a12
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ struct S {
}; };
// CHECK-MESSAGES: :[[@LINE+1]]:7: warning: declaration of 'operator new' has no matching declaration of 'operator delete' at the same scope // CHECK-MESSAGES: :[[@LINE+1]]:7: warning: declaration of 'operator new' has no matching declaration of 'operator delete' at the same scope
void *operator new(size_t size) noexcept; void *operator new(size_t size) noexcept(false);
struct T { struct T {
// Sized deallocations are not enabled by default, and so this new/delete pair // Sized deallocations are not enabled by default, and so this new/delete pair