On Apr 14, 2011, at 4:18 PM, Richard Smith wrote: > The attached patch implements C++11's (non-template) alias declarations: > > using A = int; > > The approach I've taken is to add two new classes to the Decl hierarchy: > TypedefNameDecl and TypeAliasDecl. TypedefNameDecl is a base class for > TypedefDecl and TypeAliasDecl; most code which previously operated on > TypedefDecl's should now use TypedefNameDecl. TypedefType is unchanged, > except that it now refers to a TypedefNameDecl rather than a TypedefDecl.
Very impressive! It looks fine to me, go ahead. John. _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
