OK, thanks.
On Thu, Apr 5, 2018 at 10:06 AM, Ville Voutilainen
wrote:
> On 5 April 2018 at 16:37, Jason Merrill wrote:
>> On Wed, Apr 4, 2018 at 6:26 PM, Ville Voutilainen
>> wrote:
>>> + tree parm = TREE_VEC_ELT (TREE_VALUE (tparms), 0);
>>
>> I think you want to use INNERMOST_TEMPLATE_PARMS
On 5 April 2018 at 16:37, Jason Merrill wrote:
> On Wed, Apr 4, 2018 at 6:26 PM, Ville Voutilainen
> wrote:
>> + tree parm = TREE_VEC_ELT (TREE_VALUE (tparms), 0);
>
> I think you want to use INNERMOST_TEMPLATE_PARMS here rather than
> TREE_VALUE directly.
>
> Please also add a comment quoting
On Wed, Apr 4, 2018 at 6:26 PM, Ville Voutilainen
wrote:
> + tree parm = TREE_VEC_ELT (TREE_VALUE (tparms), 0);
I think you want to use INNERMOST_TEMPLATE_PARMS here rather than
TREE_VALUE directly.
Please also add a comment quoting the rule you're implementing.
Jason