Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name toolchain_upgrade accepted/tizen/common/20141031.103322 accepted/tizen/ivi/20141128.101930 submit/tizen_common/20141031.103154 submit/tizen_ivi/20141126.000000 submit/tizen_ivi/20141126.081136 submit/tizen_ivi/20141127.000000 submit/tizen_mobile/20141120.000000
authorIsmail Pazarbasi <ismail.pazarbasi@gmail.com>
Thu, 11 Sep 2014 17:19:54 +0000 (17:19 +0000)
committerYury Usishchev <y.usishchev@samsung.com>
Thu, 16 Oct 2014 12:18:04 +0000 (16:18 +0400)
LLVM_NOEXCEPT was added in r210591.

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

tools/llvm-readobj/Error.cpp
tools/obj2yaml/Error.cpp

index a078f5c..7e6f780 100644 (file)
@@ -24,7 +24,7 @@ public:
 };
 } // namespace
 
-const char *_readobj_error_category::name() const {
+const char *_readobj_error_category::name() const LLVM_NOEXCEPT {
   return "llvm.readobj";
 }
 
index 0074128..abef8af 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)) {