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:
parent
897048bee3
commit
0f28d62a12
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue