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
};
} // namespace
-const char *_readobj_error_category::name() const {
+const char *_readobj_error_category::name() const LLVM_NOEXCEPT {
return "llvm.readobj";
}
};
} // 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)) {