[PATCH] D11229: [clang-cl] Use the Windows response file tokenizer

Reid Kleckner rnk at google.com
Wed Jul 15 11:02:20 PDT 2015


rnk created this revision.
rnk added a reviewer: hans.
rnk added a subscriber: cfe-commits.

We were still using the Unix response file tokenizer for all driver
modes. This was difficult to get right in the beginning because there is
a circular dependency. The Driver class also can't officially determine
its mode until it can see all possible --driver-mode= flags, and those
flags could come from the response file.

Now we use the Windows parsing algorithm if the program name looks like
clang-cl, or if the --driver-mode=cl flag is present on the main command
line.

http://reviews.llvm.org/D11229

Files:
  lib/Driver/Job.cpp
  test/Driver/cl-response-file.c
  tools/driver/driver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11229.29799.patch
Type: text/x-patch
Size: 6879 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150715/db622f43/attachment.bin>


More information about the cfe-commits mailing list