[PATCH] [Support] Beef up and expose the response file parsing in llvm::cl

Reid Kleckner rnk at google.com
Wed Jul 17 14:56:03 PDT 2013


Hi hans,

The plan is to use it for clang and lld.

Major behavior changes:
- We can now parse UTF-16 files that have a byte order mark.
- PR16209: Don't drop backslashes on the floor if they don't escape
  anything.

The actual parsing loop was based on code from Clang's driver.cpp,
although it's been rewritten to track its state with control flow rather
than state variables.

http://llvm-reviews.chandlerc.com/D1170

Files:
  include/llvm/Support/CommandLine.h
  lib/Support/CommandLine.cpp
  test/Other/ResponseFile.ll
  unittests/Support/CommandLineTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1170.1.patch
Type: text/x-patch
Size: 13980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130717/111c8ad1/attachment.bin>


More information about the llvm-commits mailing list