Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name
authorIsmail Pazarbasi <ismail.pazarbasi@gmail.com>
Thu, 11 Sep 2014 17:19:54 +0000 (17:19 +0000)
committerIsmail Pazarbasi <ismail.pazarbasi@gmail.com>
Thu, 11 Sep 2014 17:19:54 +0000 (17:19 +0000)
LLVM_NOEXCEPT was added in r210591.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217603 91177308-0d34-0410-b5e6-96231b3b80d8

tools/obj2yaml/Error.cpp

index 00741287a649ab5bfea3e279fd1f0d3e52cc0911..abef8af58cbfecd4797ed0dd0b2c3840e9ee6ad3 100644 (file)
@@ -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)) {