This is an archive of the discontinued LLVM Phabricator instance.

Canonicalize the variadic template alias with multiple ellipsis.
AbandonedPublic

Authored by logan on Jun 29 2014, 10:09 AM.

Details

Reviewers
rsmith
Summary

If the template has two variadic formal parameters, then the type
might not be canonical. We have call ASTContext.getCanonicalType()
to canonicalize the type; otherwise, an assertion failure will be
raised.

This patch fix this issue by adding getCanonicalType() in
TransformTemplateTypeParmType.

Diff Detail

Event Timeline

logan updated this revision to Diff 10965.Jun 29 2014, 10:09 AM
logan retitled this revision from to Canonicalize the variadic template alias with multiple ellipsis..
logan updated this object.
logan edited the test plan for this revision. (Show Details)
logan added a reviewer: rsmith.
logan added a subscriber: Unknown Object (MLST).
ismail added a subscriber: ismail.Jul 18 2014, 1:51 AM
logan abandoned this revision.Dec 15 2014, 7:34 PM