<div><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;"><div><div>It would be much easier to handle such additions as separate patches once the main patch has gone in. Big patches take much longer to review. We haven't quite dealt with all of the issues there yet.</div>

<div><br></div><div>Also, friends are in a state of flux, so it's not worth trying to (de-)serialize them now. Once the AST settles down and access control is turned on by default, it will make sense to implement PCH support with friends.</div>

</div></div></blockquote><div><br><br>After a couple months of writing papers, a dissertation, making presentations, and interviewing, I've finally been able to sit down and work on some code... So I'm resubmitting this patch. Sort of.<br>

<br>I took the previous (big) patch, re-applied it to a fresh checkout, and then stripped out most of the updates that didn't have anything to do with namespaces, namespace aliases, linkage specs, using directives, etc. I also updated the NamespaceDecl to use the PtrUnion for anon/original namespace pointers.<br>

<br>This might still look like a big patch, but it's not too large. I'm actually stubbing out most of the other Decls, but will just assert if you try to serialize them--except (C++) classes, constructors, destructors, and conversions. These are stubbed out enough to prevent any new regressions from the test suite, but they don't actually do anything.<br>

 <br><div></div><blockquote style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;" class="gmail_quote"><div>I think fixing conversion functions and the 
ctor-initializers are crucial for this patch to go in.<br></div></blockquote><br>Hopefully, since you've already reviewed most of this, it can be applied in relatively short order. After its accepted, I can re-patch and update w.r.t. class (and member) serializations. That should be a much smaller patch, and its easier for me to focus on.<br>

<br></div></div>Andrew Sutton<br><a href="mailto:andrew.n.sutton@gmail.com">andrew.n.sutton@gmail.com</a><br>