diff options
Diffstat (limited to 'llvm/tools/obj2yaml/Error.cpp')
-rw-r--r-- | llvm/tools/obj2yaml/Error.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/obj2yaml/Error.cpp b/llvm/tools/obj2yaml/Error.cpp index 00741287a64..abef8af58cb 100644 --- a/llvm/tools/obj2yaml/Error.cpp +++ b/llvm/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)) { |