summarylogtreecommitdiffstats
path: root/gcc11.patch
blob: 63936e510506e43863b598f3e1b5cc0d77e28a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
--- lib/Object/Error.cpp.orig	2014-06-13 17:36:17.000000000 +0200
+++ lib/Object/Error.cpp	2021-10-13 06:55:08.333326192 +0200
@@ -25,7 +25,7 @@
 };
 }
 
-const char *_object_error_category::name() const {
+const char *_object_error_category::name() const LLVM_NOEXCEPT {
   return "llvm.object";
 }
 
--- tools/llvm-readobj/Error.cpp.orig	2014-06-13 17:36:17.000000000 +0200
+++ tools/llvm-readobj/Error.cpp	2021-10-13 07:00:45.222140749 +0200
@@ -24,7 +24,7 @@
 };
 } // namespace
 
-const char *_readobj_error_category::name() const {
+const char *_readobj_error_category::name() const LLVM_NOEXCEPT {
   return "llvm.readobj";
 }
 
--- tools/obj2yaml/Error.cpp.orig	2014-06-13 17:36:17.000000000 +0200
+++ tools/obj2yaml/Error.cpp	2021-10-13 07:15:20.861056162 +0200
@@ -20,7 +20,7 @@
 };
 } // namespace
 
-const char *_obj2yaml_error_category::name() const { return "obj2yaml"; }
+const char *_obj2yaml_error_category::name() const LLVM_NOEXCEPT { return "obj2yaml"; }
 
 std::string _obj2yaml_error_category::message(int ev) const {
   switch (static_cast<obj2yaml_error>(ev)) {