demangler: Handle <=> operator in the demangler [PR94797]
The demangler didn't handle spaceship operator. 2020-04-27 Jakub Jelinek <jakub@redhat.com> PR demangler/94797 * cp-demangle.c (cplus_demangle_operators): Add ss <=> operator. * testsuite/demangle-expected: Add operator<=> test.
This commit is contained in:
parent
562bfb1f0e
commit
76458c912b
|
@ -1,3 +1,9 @@
|
|||
2020-04-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR demangler/94797
|
||||
* cp-demangle.c (cplus_demangle_operators): Add ss <=> operator.
|
||||
* testsuite/demangle-expected: Add operator<=> test.
|
||||
|
||||
2020-04-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR bootstrap/94739
|
||||
|
|
|
@ -1860,6 +1860,7 @@ const struct demangle_operator_info cplus_demangle_operators[] =
|
|||
{ "sP", NL ("sizeof..."), 1 },
|
||||
{ "sZ", NL ("sizeof..."), 1 },
|
||||
{ "sc", NL ("static_cast"), 2 },
|
||||
{ "ss", NL ("<=>"), 2 },
|
||||
{ "st", NL ("sizeof "), 1 },
|
||||
{ "sz", NL ("sizeof "), 1 },
|
||||
{ "tr", NL ("throw"), 0 },
|
||||
|
|
|
@ -1453,3 +1453,6 @@ void foo<(void*)0>(enable_if<((void*)0)==(decltype(nullptr)), void>::type*)
|
|||
|
||||
_ZNK5coro15emptyawEv
|
||||
coro1::empty::operator co_await() const
|
||||
|
||||
_ZNK3FoossERKS_
|
||||
Foo::operator<=>(Foo const&) const
|
||||
|
|
Loading…
Reference in New Issue