re PR demangler/82195 (Undemangleable lambda)
authorNathan Sidwell <nathan@acm.org>
Tue, 26 Sep 2017 02:38:12 +0000 (02:38 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 26 Sep 2017 02:38:12 +0000 (02:38 +0000)
commit68aac47f3a4c310890099e67ba239b7dee05bd2c
tree547e9168bded4abd7b82d1b93f314af3923cdde1
parent30854aa04d9d8f7a8196015e83858c820b7575a8
re PR demangler/82195 (Undemangleable lambda)

PR demangler/82195
* cp-demangle.c (d_encoding): Strip return type when name is a
LOCAL_NAME.
(d_local_name): Strip return type of enclosing TYPED_NAME.
* testsuite/demangle-expected: Add and adjust tests.

From-SVN: r253186
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected