diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2019-12-04 11:39:38 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-01-18 12:15:12 +0000 |
commit | 7ebbff3acbe627c9286e2daed7751e6e6c8684e6 (patch) | |
tree | ab2cfd146d5a06f5dc775eca5bc892abff9ff900 /libiberty/testsuite | |
parent | 49789fd08378e3ff7a6efd7c4f72b72654259b89 (diff) | |
download | gcc-7ebbff3acbe627c9286e2daed7751e6e6c8684e6.zip gcc-7ebbff3acbe627c9286e2daed7751e6e6c8684e6.tar.gz gcc-7ebbff3acbe627c9286e2daed7751e6e6c8684e6.tar.bz2 |
[libiberty] Update demangler to handle co_await operator.
C++20 coroutines introduces a new operator with a mangling of 'aw'.
This patch adds that to libiberty's demangler.
libiberty/ChangeLog:
2020-01-18 Iain Sandoe <iain@sandoe.co.uk>
* cp-demangle.c (cplus_demangle_operators): Add the co_await
operator.
* testsuite/demangle-expected: Test co_await operator mangling.
Diffstat (limited to 'libiberty/testsuite')
-rw-r--r-- | libiberty/testsuite/demangle-expected | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/testsuite/demangle-expected b/libiberty/testsuite/demangle-expected index 5878d96..daffe78 100644 --- a/libiberty/testsuite/demangle-expected +++ b/libiberty/testsuite/demangle-expected @@ -1450,3 +1450,6 @@ Foo<int>()::{lambda(auto:1)#1}::operator()<char>(char) const::X::fn _Z3fooILPv0EEvPN9enable_ifIXeqT_LDnEEvE4typeE void foo<(void*)0>(enable_if<((void*)0)==((decltype(nullptr))), void>::type*) + +_ZNK5coro15emptyawEv +coro1::empty::operator co_await() const |