On Mon, Apr 25, 2011 at 6:03 AM, Ville Voutilainen
<ville.voutilai...@gmail.com> wrote:
>
> This is just for the parser, the semantic analysis of virt-specifiers
> will be done later. Also, these changes don't yet support a final
> specifier on class.
>
> diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
> index e538825..08d939f 100644
> --- a/gcc/cp/cp-tree.h
> +++ b/gcc/cp/cp-tree.h
> @@ -4420,6 +4420,11 @@ extern GTY(()) operator_name_info_t 
> assignment_operator_name_info
>
>  typedef int cp_cv_quals;
>
> +/* A type-qualifier, or bitmask therefore, using the VIRT_SPEC
> +   constants.  */
> +
> +typedef int cp_virt_specifiers;

could we use enums instead?

-- Gaby

Reply via email to