mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user