From: Ismail Pazarbasi Date: Thu, 11 Sep 2014 17:19:54 +0000 (+0000) Subject: Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9869724b73fcc1252200ce1aa7c2564209634cd7;p=oota-llvm.git Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name LLVM_NOEXCEPT was added in r210591. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217603 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/obj2yaml/Error.cpp b/tools/obj2yaml/Error.cpp index 00741287a64..abef8af58cb 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(ev)) {