forked from OSchip/llvm-project
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:
parent
053c4e825c
commit
1379b96d4c
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue