Added missing LLVM_NOEXCEPT to the definition of _obj2yaml_error_category::name

LLVM_NOEXCEPT was added in r210591.

llvm-svn: 217603
This commit is contained in:
Ismail Pazarbasi 2014-09-11 17:19:54 +00:00
parent 053c4e825c
commit 1379b96d4c
1 changed files with 3 additions and 1 deletions

View 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)) {