[cfe-dev] [Proposal] How i plan to implement operator __uuidof
rjmccall at apple.com
Fri Dec 24 15:31:15 CST 2010
On Dec 24, 2010, at 12:16 AM, Francois Pichet wrote:
> Here is my plan on how to implement the __uuidof operator.
> doc: http://msdn.microsoft.com/en-us/library/zaah6a61(v=VS.90).aspx
> For each class with an uuid attribute, clang would insert an implicit declaration of type: VarDecl.
Ugh. I think the vast majority of AST clients would need to be updated to know about these special variable declarations.
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev