[PATCH] D46579: [llvm-rc] Handle C preprocessor output
    Martin Storsjö via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May  9 04:06:39 PDT 2018
    
    
  
mstorsjo updated this revision to Diff 145894.
mstorsjo added a comment.
Adapted to the review comments; using std::vector<StringRef> + llvm::join to queue up the output, excluding *.c as well, added a reference to the documentation on the matter, simplified the line parsing significantly using @zturner's hints about better StringRef helpers to use.
https://reviews.llvm.org/D46579
Files:
  test/tools/llvm-rc/Inputs/cpp-output.rc
  test/tools/llvm-rc/cpp-output.test
  tools/llvm-rc/CMakeLists.txt
  tools/llvm-rc/ResourceScriptCppFilter.cpp
  tools/llvm-rc/ResourceScriptCppFilter.h
  tools/llvm-rc/llvm-rc.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46579.145894.patch
Type: text/x-patch
Size: 7369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180509/48b6c053/attachment.bin>
    
    
More information about the llvm-commits
mailing list