aboutsummaryrefslogtreecommitdiffstats
path: root/tools/obj2yaml/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/obj2yaml/Error.cpp')
-rw-r--r--tools/obj2yaml/Error.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/obj2yaml/Error.cpp b/tools/obj2yaml/Error.cpp
index 0074128..abef8af 100644
--- a/tools/obj2yaml/Error.cpp
+++ b/tools/obj2yaml/Error.cpp
@@ -20,7 +20,9 @@ public:
};
} // 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)) {