[cfe-commits] [PATCH] Implement C++11 alias templates

Richard Smith richard at metafoo.co.uk
Tue May 3 14:00:21 PDT 2011


Hi again,

On Thu, April 28, 2011 22:02, Richard Smith wrote:
> The attached patch implements C++11 alias templates.
>
> I've added a new Decl node for alias templates: TypeAliasTemplateDecl.
> Alias template specialization types also need to track the
> non-canonicalized aliased type, so I've extended TemplateSpecializationType
> to store a non-canonical QualType in the case where it refers to an alias
> template.
[...]

I noticed that AST serialization support was missing from the previous
patch. Attached is a diff to apply on top of the previous patch to
implement such support, and a complete patch rebased to ToT.

Review comments appreciated!

Thanks,
Richard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-alias-templates.diff
Type: text/x-patch
Size: 101610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110503/9937fd3f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-alias-templates-serialization.diff
Type: text/x-patch
Size: 5300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110503/9937fd3f/attachment-0001.bin>


More information about the cfe-commits mailing list