<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Dec 24, 2010, at 10:07 PM, Francois Pichet wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Dec 24, 2010 at 4:31 PM, John McCall <span dir="ltr"><<a href="mailto:rjmccall@apple.com">rjmccall@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><div class="im"><div>On Dec 24, 2010, at 12:16 AM, Francois Pichet wrote:</div><blockquote type="cite"><div>Here is my plan on how to implement the __uuidof operator.</div><div>doc: <a href="http://msdn.microsoft.com/en-us/library/zaah6a61(v=VS.90).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/zaah6a61(v=VS.90).aspx</a></div>

<div><br></div><div><br></div><div>For each class with an uuid attribute, clang would insert an implicit declaration of type: VarDecl.</div></blockquote><div><br></div></div>Ugh.  I think the vast majority of AST clients would need to be updated to know about these special variable declarations.</div>
<div><br></div><div>If all you're worried about is how to represent __uuidof as a template argument, I think we should just keep it as a __uuidof expression, if we can make that work.  Doug?</div><div><br></div></div>
</blockquote><div><br></div><div>Yes I agree if we could represent __uuidof as a template argument then the need for the special variable is gone... that would be ideal.</div></div>
</blockquote><br></div><div>I, too, like that idea.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>- Doug</div><br></body></html>