On Mon, Nov 19, 2018 at 08:03:24PM +0100, Paolo Carlini wrote:
> @@ -12245,8 +12246,9 @@ grokdeclarator (const cp_declarator *declarator,
>           error ("invalid use of %<::%>");
>           return error_mark_node;
>         }
> -     else if (TREE_CODE (type) == FUNCTION_TYPE
> -              || TREE_CODE (type) == METHOD_TYPE)
> +     else if ((TREE_CODE (type) == FUNCTION_TYPE
> +               || TREE_CODE (type) == METHOD_TYPE)

I know it's preexisting but we have FUNC_OR_METHOD_TYPE_P for this.

Marek

Reply via email to