[llvm] r217603 - Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name

Ismail Pazarbasi ismail.pazarbasi at gmail.com
Thu Sep 11 10:19:54 PDT 2014


Author: ismailp
Date: Thu Sep 11 12:19:54 2014
New Revision: 217603

URL: http://llvm.org/viewvc/llvm-project?rev=217603&view=rev
Log:
Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name

LLVM_NOEXCEPT was added in r210591.

Modified:
    llvm/trunk/tools/obj2yaml/Error.cpp

Modified: llvm/trunk/tools/obj2yaml/Error.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/obj2yaml/Error.cpp?rev=217603&r1=217602&r2=217603&view=diff
==============================================================================
--- llvm/trunk/tools/obj2yaml/Error.cpp (original)
+++ llvm/trunk/tools/obj2yaml/Error.cpp Thu Sep 11 12:19:54 2014
@@ -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)) {





More information about the llvm-commits mailing list