aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-03 07:01:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-03 07:01:38 +0000
commit60e107fb86132fea75b886d2259f4c220334bc5e (patch)
treece319ee1a41ff658a8749a3c80413c87cd3cc208 /lib/Driver/Driver.cpp
parent7bd716557bf27361408457d059f16f1596f22a1b (diff)
Add OptTable::PrintHelp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index 87357cf08a..7c21594e6f 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -312,6 +312,8 @@ static std::string getOptionHelpName(const OptTable &Opts, options::ID Id) {
return Name;
}
+// FIXME: Move -ccc options to real options in the .td file (or eliminate), and
+// then move to using OptTable::PrintHelp.
void Driver::PrintHelp(bool ShowHidden) const {
llvm::raw_ostream &OS = llvm::outs();