aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2019-12-04 11:39:07 +0000
committerIain Sandoe <iain@sandoe.co.uk>2019-12-04 11:39:07 +0000
commitffafc1e6578fefc516aec7b1a79f49e741b8f36b (patch)
treefa7875e4072106b41fb5acb3575b70f7398dac55
parent075cd8afb545925ecc0d88c114f33da6353a409c (diff)
c++-coroutines - libiberty demangler update.c++-coroutines
The coroutines implementation introduces a new operator with a mangling of 'aw'. This patch adds that to libiberty's demangler. 2019-12-04 Iain Sandoe <iain@sandoe.co.uk> libiberty/ * cp-demangle.c (cplus_demangle_operators): Add the co_await operator. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/c++-coroutines@278960 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--ChangeLog.coroutines6
-rw-r--r--libiberty/cp-demangle.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog.coroutines b/ChangeLog.coroutines
index dc3d8d45f81..b12be7d699a 100644
--- a/ChangeLog.coroutines
+++ b/ChangeLog.coroutines
@@ -1,3 +1,9 @@
+2019-12-04 Iain Sandoe <iain@sandoe.co.uk>
+
+ libiberty/
+ * cp-demangle.c (cplus_demangle_operators): Add the co_await
+ operator.
+
2019-12-03 Iain Sandoe <iain@sandoe.co.uk>
gcc/
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index d7fee643d0b..aa2882f690f 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -1802,6 +1802,7 @@ const struct demangle_operator_info cplus_demangle_operators[] =
{ "ad", NL ("&"), 1 },
{ "an", NL ("&"), 2 },
{ "at", NL ("alignof "), 1 },
+ { "aw", NL ("co_await "), 1 },
{ "az", NL ("alignof "), 1 },
{ "cc", NL ("const_cast"), 2 },
{ "cl", NL ("()"), 2 },