From 0f28d62a120732826e748545ba5530338307ed57 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 29 Sep 2015 14:26:00 +0000 Subject: [PATCH] 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 --- clang-tools-extra/test/clang-tidy/misc-new-delete-overloads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/test/clang-tidy/misc-new-delete-overloads.cpp b/clang-tools-extra/test/clang-tidy/misc-new-delete-overloads.cpp index 2cb23b88dd2f..d893ada84f5a 100644 --- a/clang-tools-extra/test/clang-tidy/misc-new-delete-overloads.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-new-delete-overloads.cpp @@ -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 -void *operator new(size_t size) noexcept; +void *operator new(size_t size) noexcept(false); struct T { // Sized deallocations are not enabled by default, and so this new/delete pair