summaryrefslogtreecommitdiff
path: root/lib/ProfileData
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-29 07:58:41 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-29 07:58:41 +0000
commiteda7f44b27690d050bae738552f9e1f08e72133f (patch)
tree6d76063b1cf073994fc506931077afc7d3d38dee /lib/ProfileData
parent0fd57f4b56ea37b63f61294d3d04d92cd05871b1 (diff)
downloadllvm-eda7f44b27690d050bae738552f9e1f08e72133f.tar.gz
llvm-eda7f44b27690d050bae738552f9e1f08e72133f.tar.bz2
llvm-eda7f44b27690d050bae738552f9e1f08e72133f.tar.xz
[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
Diffstat (limited to 'lib/ProfileData')
-rw-r--r--lib/ProfileData/InstrProf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ProfileData/InstrProf.cpp b/lib/ProfileData/InstrProf.cpp
index 2eca8b2045..de2b13dafd 100644
--- a/lib/ProfileData/InstrProf.cpp
+++ b/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;