diff options
author | Ismail Pazarbasi <ismail.pazarbasi@gmail.com> | 2014-09-11 17:19:54 +0000 |
---|---|---|
committer | Ismail Pazarbasi <ismail.pazarbasi@gmail.com> | 2014-09-11 17:19:54 +0000 |
commit | 1379b96d4c87eb7a30a9267515564a41cb29ce42 (patch) | |
tree | a1c69d50c5a1e5efc097a9f7911e2a575718f241 /llvm/tools/obj2yaml/Error.cpp | |
parent | 053c4e825c401568f034df03196b1a0c589eef6a (diff) | |
download | bcm5719-llvm-1379b96d4c87eb7a30a9267515564a41cb29ce42.tar.gz bcm5719-llvm-1379b96d4c87eb7a30a9267515564a41cb29ce42.zip |
Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name
LLVM_NOEXCEPT was added in r210591.
llvm-svn: 217603
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)) { |