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++ Patch] Consistently use OVL_P


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.carlini@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


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