<div dir="ltr"><div class="gmail_default" style>On Mon, Jan 7, 2013 at 9:03 PM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Mon, Jan 7, 2013 at 1:41 AM, Manuel Klimek <<a href="mailto:klimek@google.com">klimek@google.com</a>> wrote:<br>

>   I'd like to re-iterate the idea of compiling in and overlaying the builtin headers, this time with two alternative tweaks that hopefully address Chandler's concerns:<br>
>   1. do normal builtin header lookup, but overlay builtin headers if we did not find them on  the disk<br>
>   2. (combinable with 1) if we produce a diagnostic that references a builtin header, which is in an overlay, create a temp directory, dump the builtin header there, and reference the actual file on disk.<br>
><br>
>   Thoughts?<br>
<br>
</div>As far as the changes needed for Clang, would this require changes to<br>
libLex? or can this be isolated in libBasic (FileManager and<br>
SourceManager)?<br></blockquote><div><br></div><div style>Good question. The overlay parts can definitely be done from libBasic, but I don't know what the diagnostic integration would need.</div><div style><br></div>
<div style>Cheers,</div><div style>/Manuel</div></div></div></div>