diff options
author | James Molloy <james.molloy@arm.com> | 2012-05-01 14:57:16 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2012-05-01 14:57:16 +0000 |
commit | bfd7a525bcf372004787cb641b8c1566b9e8aba5 (patch) | |
tree | 436f4c8c8171d939b39fbdd9fa7f61e2da237584 /lib/Driver/Driver.cpp | |
parent | d1fda0393b50c9c1ea25925725916da3ce13c1e2 (diff) |
Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver.
Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r-- | lib/Driver/Driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 44521a1a59..483575298d 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -645,7 +645,7 @@ bool Driver::HandleImmediateArgs(const Compilation &C) { return false; } - if (C.getArgs().hasArg(options::OPT__help) || + if (C.getArgs().hasArg(options::OPT_help) || C.getArgs().hasArg(options::OPT__help_hidden)) { PrintHelp(C.getArgs().hasArg(options::OPT__help_hidden)); return false; |