c++: Remove LOOKUP_EXPLICIT_TMPL_ARGS.
authorJason Merrill <jason@redhat.com>
Mon, 11 May 2020 18:05:46 +0000 (14:05 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 11 May 2020 18:50:57 +0000 (14:50 -0400)
commit08434b02e2903c60517f64f3bc3070992001d3b5
treefd027f55d388b7abe95663a72853492f9a68fbd1
parentf315d1477d5164cb8ec1a004ce368dd52d47092a
c++: Remove LOOKUP_EXPLICIT_TMPL_ARGS.

This flag is redundant with the explicit_targs field in the overload
candidate information.

gcc/cp/ChangeLog
2020-05-11  Jason Merrill  <jason@redhat.com>

* cp-tree.h (LOOKUP_EXPLICIT_TMPL_ARGS): Remove.
* call.c (build_new_function_call): Don't set it.
(build_new_method_call_1): Likewise.
(build_over_call): Check cand->explicit_targs instead.
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h