mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
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
This commit is contained in:
@ -48,7 +48,7 @@ _do_message::message(int ev) const {
|
||||
|
||||
class _generic_error_category : public _do_message {
|
||||
public:
|
||||
const char* name() const override;
|
||||
const char* name() const LLVM_NOEXCEPT override;
|
||||
std::string message(int ev) const override;
|
||||
};
|
||||
|
||||
@ -74,7 +74,7 @@ generic_category() {
|
||||
|
||||
class _system_error_category : public _do_message {
|
||||
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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user