[PATCH] C++0x, teach the parser to parse virt-specifier-seq for member functions

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Apr 26 09:11:00 GMT 2011


On Mon, Apr 25, 2011 at 12:23 PM, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> On 25 April 2011 20:06, Jason Merrill <jason@redhat.com> wrote:
>>>> could we use enums instead?
>>> No reason not to, except that we don't for the cp_cv_quals above. :) I
>>> followed
>>> the same approach.
>> Sure, let's use enums for the named values.  But I think we still want to
>> use the int typedef for variables and parameters.
>
> Would you like me to convert the cp_cv_quals values to enums in the same go?

when you do, could you test a bootstrap with a C++ compiler? (Just to make sure
that no implicit conversion int -> enum slips in.



More information about the Gcc-patches mailing list