method.c (lookup_comparison_result): Use %qD instead of %<%T::%D%> to print the decl.
authorJakub Jelinek <jakub@redhat.com>
Sun, 17 Nov 2019 06:12:01 +0000 (07:12 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 17 Nov 2019 06:12:01 +0000 (07:12 +0100)
commitcfe871e3ec6a28f5fb7602ab44407613b6787ef2
tree5a205f355fa894711302726a5b8792dbcf6fae3d
parentf6e86b330363306d772ed69dfb864532bf5de5b6
method.c (lookup_comparison_result): Use %qD instead of %<%T::%D%> to print the decl.

* method.c (lookup_comparison_result): Use %qD instead of %<%T::%D%>
to print the decl.
(lookup_comparison_category): Use %qD instead of %<std::%D%> to print
the decl.

* g++.dg/cpp2a/spaceship-err3.C: New test.

From-SVN: r278375
gcc/cp/ChangeLog
gcc/cp/method.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp2a/spaceship-err3.C [new file with mode: 0644]