[cfe-dev] QualifiedTemplateName as inner type of an ElaboratedType ?
John McCall
rjmccall at apple.com
Sat Jun 5 13:49:20 PDT 2010
On Jun 5, 2010, at 3:36 AM, Enea Zaffanella wrote:
> Should clang get rid of the redundant qualification in the
> ElaboratedType (and DependentNameType) whenever the inner type already
> has name qualification info (i.e., a QualifiedTemplateName or a
> DependentTemplateName and maybe others)?
>
> Or should clang rather insist on a stronger (and simpler?) design where
> a TemplateName is *never* qualified, i.e., any qualifier should be
> encoded as an external ElaboratedType (or DependentNameType) wrapper?
This would be better; I don't think we really get anything out of the current
redundancy in TemplateName. We might need a
DependentTemplateSpecializationType first, though.
John.
More information about the cfe-dev
mailing list