diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-09-23 02:12:10 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-09-23 02:12:10 +0000 |
commit | 3186c01fecbf06bec2c4534429e3400b0042045f (patch) | |
tree | 9c84f14b317acad7ae320bc86dd79959e83a3edf /llvm/lib/Support/system_error.cpp | |
parent | 66431cd10f043dfd480d5b2f1f772f6741da633d (diff) | |
download | bcm5719-llvm-3186c01fecbf06bec2c4534429e3400b0042045f.tar.gz bcm5719-llvm-3186c01fecbf06bec2c4534429e3400b0042045f.zip |
Add LLVM_OVERRIDE to methods that override their base classes.
llvm-svn: 164471
Diffstat (limited to 'llvm/lib/Support/system_error.cpp')
-rw-r--r-- | llvm/lib/Support/system_error.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Support/system_error.cpp b/llvm/lib/Support/system_error.cpp index 56898de3152..2df223ca718 100644 --- a/llvm/lib/Support/system_error.cpp +++ b/llvm/lib/Support/system_error.cpp @@ -48,8 +48,8 @@ _do_message::message(int ev) const { class _generic_error_category : public _do_message { public: - virtual const char* name() const; - virtual std::string message(int ev) const; + virtual const char* name() const LLVM_OVERRIDE; + virtual std::string message(int ev) const LLVM_OVERRIDE; }; const char* @@ -74,9 +74,9 @@ generic_category() { class _system_error_category : public _do_message { public: - virtual const char* name() const; - virtual std::string message(int ev) const; - virtual error_condition default_error_condition(int ev) const; + virtual const char* name() const LLVM_OVERRIDE; + virtual std::string message(int ev) const LLVM_OVERRIDE; + virtual error_condition default_error_condition(int ev) const LLVM_OVERRIDE; }; const char* |