demangler: don't treat lambda as a substitution candidate
authorIan Lance Taylor <iant@golang.org>
Fri, 10 Jul 2020 16:34:28 +0000 (09:34 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 14 Jul 2020 17:25:48 +0000 (10:25 -0700)
commitbae45b8be57b2a2c22bf45f3eeb1118c328ad028
tree6a8f97626d41a0ead37b0139f1c0c292041ef16f
parent004bb936d6d5f177af26ad4905595e843d5665a5
demangler: don't treat lambda as a substitution candidate

libiberty/ChangeLog:

PR demangler/96143
* cp-demangle.c (d_lambda): Don't add substitution candidate.
* testsuite/demangle-expected: Update a few existing test cases
accordingly, and add a new test case.
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected