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++-concepts] requires expressions


Fixed and committed, but I have a small follow-up related to parameter
packs in requires clauses. The checking for unexpanded parameter packs
treats the parameter declarations like regular PARM_DECL references
and gives errors that they are unexpanded packs.

2013-07-26  Andrew Sutton  <andrew.n.sutton@gmail.com>
    * gcc/cp/tree.c (cp_walk_subtrees): Don't recurse through the
    requires expr parameter list.

Andrew


On Thu, Jul 25, 2013 at 3:49 PM, Jason Merrill <jason@redhat.com> wrote:
> On 07/25/2013 10:19 AM, Andrew Sutton wrote:
>>
>> +  pp_cxx_parameter_declaration_clause(pp, TREE_OPERAND (t, 0));
>
>
> Space before (.  Otherwise, looks good.
>
> Jason
>



-- 
Andrew Sutton
andrew.n.sutton@gmail.com

Attachment: requires-8.patch
Description: Binary data


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