aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-04 06:24:11 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-04 06:24:11 +0000
commit32ea826a8a4b2d539b6ce19ac02c82c91f92292f (patch)
tree817d159188e76d3927999b08ca4c8e8085c8389e /llvm/lib/Support/CommandLine.cpp
parent590604b2d4ad1ac721344830b9c7c67e9e5d7e28 (diff)
downloadllvm-32ea826a8a4b2d539b6ce19ac02c82c91f92292f.zip
llvm-32ea826a8a4b2d539b6ce19ac02c82c91f92292f.tar.gz
llvm-32ea826a8a4b2d539b6ce19ac02c82c91f92292f.tar.bz2
[C+11] Add 'override' keyword to methods in the support library.
llvm-svn: 202791
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r--llvm/lib/Support/CommandLine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp
index 6d962e6..deb5c39 100644
--- a/llvm/lib/Support/CommandLine.cpp
+++ b/llvm/lib/Support/CommandLine.cpp
@@ -1507,7 +1507,7 @@ public:
using HelpPrinter::operator= ;
protected:
- virtual void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) {
+ void printOptions(StrOptionPairVector &Opts, size_t MaxArgLen) override {
std::vector<OptionCategory *> SortedCategories;
std::map<OptionCategory *, std::vector<Option *> > CategorizedOptions;