llvm-project/clang/tools/driver
Nico Weber 47bf505775 driver: Add a `--rsp-quoting` flag to pick response file quoting.
Currently, clang-cl always uses Windows style for unquoting, and clang always
uses POSIX style for unquoting.

With this flag, it's possible to change these defaults.

In general, response file quoting should match the shell the response file is
used in.  On Windows, it's possible to run clang-cl in a bash shell, or clang in
cmd.exe, so a flag for overriding the default behavior is natural there.

On non-Windows, Windows quoting probably never makes sense (except maybe in
Wine), but having clang-cl behave differently based on the host OS seems
strange too.  So require that people who want to use posix-style response
files with clang-cl on non-Windows pass --rsp-quoting=posix.

http://reviews.llvm.org/D19425

llvm-svn: 267474
2016-04-25 21:15:49 +00:00
..
CMakeLists.txt [Perf-Training] Reworked workflow improvements for order-file generation 2016-04-08 22:48:18 +00:00
Info.plist.in
cc1_main.cpp Make the clang module container format selectable from the command line. 2015-07-17 01:19:54 +00:00
cc1as_main.cpp cc1as: Don't crash when CIE is requested and no DWARF version is specified. 2016-04-19 20:31:19 +00:00
driver.cpp driver: Add a `--rsp-quoting` flag to pick response file quoting. 2016-04-25 21:15:49 +00:00