Conversion operators kept on single overload set
authorNathan Sidwell <nathan@acm.org>
Thu, 24 Aug 2017 18:39:41 +0000 (18:39 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 24 Aug 2017 18:39:41 +0000 (18:39 +0000)
commit2e12a8554c9ed35fd6aa786c1ef5eee96bf8a6b6
tree8339ac9ae0c5848cd0dda14a0ea1525cbbb1cc91
parent281de9c2d56a910fd4321785f9a8c97fc647b8a5
Conversion operators kept on single overload set

Conversion operators kept on single overload set
* class.c (add_method): Keep all conv-ops on one slot.
* name-lookup.c (lookup_conversion_operator): Pull the desired
conv op out of overload set.
* search.c (lookup_conversions_r): Lose template/non-template
distinction.
(lookup_conversions): Likewise.

From-SVN: r251340
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/name-lookup.c
gcc/cp/search.c