]> granicus.if.org Git - clang/commit
[Driver] Use LLVM's response file parser because it can read UTF-16
authorReid Kleckner <reid@kleckner.net>
Thu, 18 Jul 2013 20:00:53 +0000 (20:00 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 18 Jul 2013 20:00:53 +0000 (20:00 +0000)
commit87f2cb5aec7b81ea6f6f9fbf6e14ef4f2de6dea6
treeaa0d15874deeba7b4f272901827633fba83235c9
parent8a77c20375874c0759a5cd5b4a34e83465d821b2
[Driver] Use LLVM's response file parser because it can read UTF-16

MSBuild writes response files as UTF-16 little endian with a byte order
mark.  With this change, clang will be able to read them, although we
still can't parse any of their flags.

Adds a UTF-16-LE response file with a BOM for testing.

Differential Revision: http://llvm-reviews.chandlerc.com/D1137

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186603 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/at_file.c
test/Driver/at_file.c.args
test/Driver/at_file.c.args.utf16le [new file with mode: 0644]
tools/driver/driver.cpp