<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 3, 2011, at 3:16 PM, Douglas Gregor wrote:</div><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>I'm being careful with any node types that use the TypeSourceInfo because the call to ASTWriter::AddTypeSourceInfo works differently if its first argument (which is D->getTypeSourceInfo() for us) is 0.   <br></div></blockquote><div><br></div><div>Sure, but as long as it always puts *something* into the record, we should be fine.</div></div></div></blockquote><div><br></div><div>Good point.  As long as we can assume that TypedefDecl will always have some TypeSourceInfo, we're fine.  I've added an assertion to note this.  If that's sounds good, I'll check in.</div></div><br><div><br></div><div>Jonathan</div></body></html>