<div dir="auto"><div>It could be more useful to do this in InputFile::create, that way the client can easily diagnose which file has the problem.<div dir="auto"><br></div><div dir="auto">Peter</div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 13, 2016 8:36 PM, "Mehdi AMINI via Phabricator" <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mehdi_amini accepted this revision.<br>
mehdi_amini added a comment.<br>
This revision is now accepted and ready to land.<br>
<br>
LGTM.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D27082" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D27082</a><br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>