<div dir="ltr">On 25 January 2013 10:18, Douglas Gregor <span dir="ltr"><<a href="mailto:dgregor@apple.com" target="_blank">dgregor@apple.com</a>></span> wrote:<br><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="HOEnZb"><div class="h5"><br>
On Jan 25, 2013, at 2:32 AM, Nick Lewycky <<a href="mailto:nlewycky@google.com">nlewycky@google.com</a>> wrote:<br>
<br>
> This patch fixes a problem where the PCH fails to faithfully represent the state of Sema, causing it to drop some -Wundefined-internal diagnostics across PCH boundaries.<br>
><br>
> While there I noticed that KnownNamespaces was being emitted in an indeterminate order and added code to sort them deterministically.<br>
><br>
> Please review!<br>
<br>
</div></div>(Quoting patches on a phone is awful)<br>
<br>
Serialization bits look good.<br>
<br>
Rather than sorting based on source location, how about just changing Sema's data structures for both of these to MapVectors?<br></blockquote><div><br></div><div style>Done.</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Also, I'd rather not renumber the record codes. It's fine to just append to the list, because order is irrelevant.<br></blockquote><div style><br></div><div style>Done.</div><div><br></div><div style>Updated patch attached. Please review!</div>

<div style><br></div><div style>Nick</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
><br>
> <undefined-internal-pch-1.patch><br>
> _______________________________________________<br>
> cfe-commits mailing list<br>
> <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>