diff options
author | Hans Wennborg <hans@hanshq.net> | 2013-07-27 00:23:45 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2013-07-27 00:23:45 +0000 |
commit | 6981330cc231e4e2ccbd38679209e04b776483eb (patch) | |
tree | fcf65a915b83e8af6e4b48425fa607fb5074f1cb /include/clang/Driver/Options.h | |
parent | 2437c8642da2728aab47262ffb74dfa796a1cf35 (diff) | |
download | clang-6981330cc231e4e2ccbd38679209e04b776483eb.tar.gz |
clang-cl: add support for the /? and /help options
This establishes a new Flag in Options.td, which can be assigned to
options that should be made available in clang's cl.exe compatible
mode, and updates the Driver to make use of the flag.
(The whitespace change to CMakeLists forces the build to re-run CMake
and pick up the include dependency on the new .td file. This makes the
build work if someone moves backwards in commit history after this change.)
Differential Revision: http://llvm-reviews.chandlerc.com/D1215
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Driver/Options.h')
-rw-r--r-- | include/clang/Driver/Options.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/Driver/Options.h b/include/clang/Driver/Options.h index 559d7693bb..99ec12579f 100644 --- a/include/clang/Driver/Options.h +++ b/include/clang/Driver/Options.h @@ -27,8 +27,9 @@ enum ClangFlags { LinkerInput = (1 << 5), NoArgumentUnused = (1 << 6), Unsupported = (1 << 7), - CC1Option = (1 << 8), - NoDriverOption = (1 << 9) + CLOption = (1 << 8), + CC1Option = (1 << 9), + NoDriverOption = (1 << 10) }; enum ID { |