This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Implement P0961


On Wed, Apr 4, 2018 at 6:26 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]