Mark a few functions noexcept.
This reduces the difference between std::error_code and llvm::error_code.
llvm-svn: 210591
diff --git a/llvm/lib/Object/Error.cpp b/llvm/lib/Object/Error.cpp
index f1d0f01..6bcc6f9 100644
--- a/llvm/lib/Object/Error.cpp
+++ b/llvm/lib/Object/Error.cpp
@@ -20,9 +20,9 @@
namespace {
class _object_error_category : public error_category {
public:
- const char* name() const override;
+ const char* name() const LLVM_NOEXCEPT override;
std::string message(int ev) const override;
- error_condition default_error_condition(int ev) const override;
+ error_condition default_error_condition(int ev) const LLVM_NOEXCEPT override;
};
}