summaryrefslogtreecommitdiffstats
path: root/llvm/tools/obj2yaml/Error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/obj2yaml/Error.cpp')
-rw-r--r--llvm/tools/obj2yaml/Error.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/obj2yaml/Error.cpp b/llvm/tools/obj2yaml/Error.cpp
index 9d1af680a73..399b563fd9c 100644
--- a/llvm/tools/obj2yaml/Error.cpp
+++ b/llvm/tools/obj2yaml/Error.cpp
@@ -18,12 +18,12 @@ namespace {
// deal with the Error value directly, rather than converting to error_code.
class _obj2yaml_error_category : public std::error_category {
public:
- const char *name() const LLVM_NOEXCEPT override;
+ const char *name() const noexcept override;
std::string message(int ev) const override;
};
} // namespace
-const char *_obj2yaml_error_category::name() const LLVM_NOEXCEPT {
+const char *_obj2yaml_error_category::name() const noexcept {
return "obj2yaml";
}
OpenPOWER on IntegriCloud