[clang-tools-extra] r248797 - 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.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 29 07:26:01 PDT 2015
Author: aaronballman
Date: Tue Sep 29 09:26:00 2015
New Revision: 248797
URL: http://llvm.org/viewvc/llvm-project?rev=248797&view=rev
Log:
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.
Modified:
clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp?rev=248797&r1=248796&r2=248797&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/misc-new-delete-overloads.cpp Tue Sep 29 09:26:00 2015
@@ -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
More information about the cfe-commits
mailing list