[PATCH] Teach Clang how to use response files when calling other tools
rafaelauler at gmail.com
Fri Aug 15 20:05:28 PDT 2014
In this new patch, I now use writeFileWithEncoding by passing an enum member (conforming to my new patch in D4896). I also updated my changes in Tool, separating ResponseFileSupport in ResponseFileSupport, which will only tell whether the tool has full support for response files, file lists or no support, and ResponseFileEncoding, which will tell which encoding we should use when writing this response file.
I believe this makes the whole encoding issue much more clear and explicit. I also adopted Rafael's suggestion and added a comment explictly stating which tools need to use the current code page in their response file encoding.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 38708 bytes
Desc: not available
More information about the cfe-commits