clang-cl: add support for the /? and /help options
authorHans Wennborg <hans@hanshq.net>
Sat, 27 Jul 2013 00:23:45 +0000 (00:23 +0000)
committerHans Wennborg <hans@hanshq.net>
Sat, 27 Jul 2013 00:23:45 +0000 (00:23 +0000)
commit6ddc6901ef18ee4463cb4981d3a520ce3f8e2c36
tree80b8822e9c06afc9fa83c6ab1563bf9e5aaeec53
parent568cb2783345a972dabb7290ff38db8e522d0ec7
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

llvm-svn: 187280
clang/CMakeLists.txt
clang/include/clang/Driver/CLCompatOptions.td [new file with mode: 0644]
clang/include/clang/Driver/Driver.h
clang/include/clang/Driver/Makefile
clang/include/clang/Driver/Options.h
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/test/Driver/cl.c