<div dir="ltr">Updated the patch at <a href="http://reviews.llvm.org/D4897">http://reviews.llvm.org/D4897</a> (I didn't receive the phabricator email in this thread, so I am sending it myself).</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 11:21 AM, Rafael Auler <span dir="ltr"><<a href="mailto:rafaelauler@gmail.com" target="_blank">rafaelauler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Removed the ifdefs from several instances of getResponseFileEncoding() by using a new datatype called EncodingStrategy, introduced in the llvm side of the patch at D4896. This datatype stores the desired encoding on both UNIX and Windows systems, letting the writeFileWithEncoding() function in Support to select the appropriate encoding to use.<br>

<div class="HOEnZb"><div class="h5"><br>
<a href="http://reviews.llvm.org/D4897" target="_blank">http://reviews.llvm.org/D4897</a><br>
<br>
Files:<br>
  include/clang/Driver/Compilation.h<br>
  include/clang/Driver/Job.h<br>
  include/clang/Driver/Tool.h<br>
  lib/Driver/Compilation.cpp<br>
  lib/Driver/Job.cpp<br>
  lib/Driver/Tools.cpp<br>
  lib/Driver/Tools.h<br>
  test/Driver/response-file.c<br>
</div></div></blockquote></div><br></div>