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
Showing
- CMakeLists.txt 0 additions, 1 deletionCMakeLists.txt
- include/clang/Driver/CLCompatOptions.td 21 additions, 0 deletionsinclude/clang/Driver/CLCompatOptions.td
- include/clang/Driver/Driver.h 4 additions, 0 deletionsinclude/clang/Driver/Driver.h
- include/clang/Driver/Makefile 1 addition, 1 deletioninclude/clang/Driver/Makefile
- include/clang/Driver/Options.h 3 additions, 2 deletionsinclude/clang/Driver/Options.h
- include/clang/Driver/Options.td 7 additions, 0 deletionsinclude/clang/Driver/Options.td
- lib/Driver/Driver.cpp 36 additions, 4 deletionslib/Driver/Driver.cpp
- test/Driver/cl.c 20 additions, 2 deletionstest/Driver/cl.c
Loading
Please register or sign in to comment