diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:58:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-04-29 07:58:41 +0000 |
commit | 9d74a5a5f1d661b520d2c7b9a66f1575f9fd6e7c (patch) | |
tree | f660d11cd42d19d45a1b7eeedf7c988c282e655b /llvm/lib/ProfileData/InstrProf.cpp | |
parent | e06fc4f0caf2340098654c10ae3c702901e3f562 (diff) | |
download | bcm5719-llvm-9d74a5a5f1d661b520d2c7b9a66f1575f9fd6e7c.tar.gz bcm5719-llvm-9d74a5a5f1d661b520d2c7b9a66f1575f9fd6e7c.zip |
[C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves.
llvm-svn: 207511
Diffstat (limited to 'llvm/lib/ProfileData/InstrProf.cpp')
-rw-r--r-- | llvm/lib/ProfileData/InstrProf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp index 2eca8b2045e..de2b13dafd0 100644 --- a/llvm/lib/ProfileData/InstrProf.cpp +++ b/llvm/lib/ProfileData/InstrProf.cpp @@ -52,7 +52,7 @@ class InstrProfErrorCategoryType : public error_category { } llvm_unreachable("A value of instrprof_error has no message."); } - error_condition default_error_condition(int EV) const { + error_condition default_error_condition(int EV) const override { if (EV == instrprof_error::success) return errc::success; return errc::invalid_argument; |