On Tue, May 14, 2019 at 05:28:09PM +0200, Paolo Carlini wrote:
> Hi,
> 
> another straightforward one sitting in my tree... Sanity checked on
> x86_64-linux.
> 
> Thanks, Paolo.
> 
> ///////////////////
> 

> 2019-05-14  Paolo Carlini  <paolo.carl...@oracle.com>
> 
>       * call.c (perform_overload_resolution, build_new_method_call_1):
>       Use OVL_P.
>       * decl.c (grokfndecl): Likewise.
>       * mangle.c (write_expression): Likewise.
>       * parser.c (cp_parser_template_id): Likewise.
>       * pt.c (resolve_overloaded_unification, type_dependent_expression_p):
>       Likewise. 
>       * search.c (build_baselink): Likewise.
>       * tree.c (is_overloaded_fn, dependent_name, maybe_get_fns): Likewise.

Looks fine.

OVL_P says "TEMPLATE_DECLS are always wrapped in an OVERLOAD, so we don't need
to check them", but I wouldn't mess with that in a cleanup patch like this.

Marek

Reply via email to