From fbb5f701863550f56438db7cb690fa1751f4148b Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 10 Jun 2014 21:26:47 +0000 Subject: Mark a few functions noexcept. This reduces the difference between std::error_code and llvm::error_code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210591 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Object/Error.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Object') diff --git a/lib/Object/Error.cpp b/lib/Object/Error.cpp index f1d0f0184d..6bcc6f9a78 100644 --- a/lib/Object/Error.cpp +++ b/lib/Object/Error.cpp @@ -20,9 +20,9 @@ using namespace object; 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; }; } -- cgit v1.2.3