Exactly :-)

On Thu, Jan 28, 2016 at 5:07 PM, Yaron Keren <[email protected]> wrote:

> The instantiated does get a new collection of ParmVarDecls while getting
> the pattern Type which points to the pattern ParmVarDecls. So the
> ParmVarDecls pointed in the instantiated are not the same as those pointed
> by its Type.
>
> Traversing by Type or by the Decl finds a different set of ParmVarDecls
> which seems an inconsistency or at least a surprise.
>
> 2016-01-28 22:39 GMT+02:00 Reid Kleckner <[email protected]>:
>
>> The fact that an instantiated type might point to decls from the template
>> pattern seems like expected behavior. The parts of the template that are
>> the same are supposed to be shared.
>>
>
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to