[cfe-dev] Embyonic patch for type-alias

AlisdairM(public) public at alisdairm.net
Wed Jul 1 18:09:51 PDT 2009

Attached is a preliminary patch for C++0x type alias (but not template alias)

As this is my first feature, I would appreciate feedback on any issues with how I am structuring the code/design so I can clean it up before solving the outstanding issues.

I'm not sure how to package a new file, so my test case is attached separately.

Speaking of limitiations...

Known issues:
  General quality of error messages (recycling known Ids while trying to provoke errors)
  Does not give error for conflicting redefinition
  Does not support definition of anonymous types
  Erroneously allows function typedefs with exception specifications

My goal is to clean this up to be applied before weekend, so I can take a shot at full template alias next week, so any feedback that would help with that target would be much apprecaiated!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: initial_alias.patch
Type: application/octet-stream
Size: 9878 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090702/4e6cc642/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: basic_alias.cpp
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090702/4e6cc642/attachment.ksh>

More information about the cfe-dev mailing list