[PATCH] Add writeFileWithSystemEncoding to LibLLVMSupport

Rafael Auler rafaelauler at gmail.com
Tue Aug 26 07:18:00 PDT 2014


Added the struct "EncodingStrategy", used to represent how the user wants to encode her file in different OSes. This was used to allow the removal of several ifdefs in the clang side of the patch at D4897.

http://reviews.llvm.org/D4896

Files:
  include/llvm/Support/Program.h
  lib/Support/Unix/Program.inc
  lib/Support/Windows/Path.inc
  lib/Support/Windows/Program.inc
  lib/Support/Windows/WindowsSupport.h
  unittests/Support/ProgramTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4896.12943.patch
Type: text/x-patch
Size: 10032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140826/2570d46a/attachment.bin>


More information about the llvm-commits mailing list