gcc/libiberty/testsuite
Nathan Sidwell 0fa35c7e29 libiberty: Demangling 'M' prefixes
The grammar for a lambda context can include <source-name> 'M', and we
were adding the component that generated to the substitution table
twice.  Just ignore the 'M' completely -- we'll already have done the
checks we need when we saw its predecessor.  A prefix cannot be the
last component of a nested name, so we do not need to check for that
case (although we could if we wanted to be more lenient).

	libiberty/
	* cp-demangle.c (d_prefix): 'M' components are not
	(re-)added to the substitution table.
	* testsuite/demangle-expected: Add tests.
2022-10-11 04:39:50 -07:00
..
d-demangle-expected [PATCH] d-demangle: properly skip anonymous symbols 2021-10-17 18:38:10 -04:00
demangle-expected libiberty: Demangling 'M' prefixes 2022-10-11 04:39:50 -07:00
demangler-fuzzer.c Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.in Update copyright years. 2022-01-03 10:42:10 +01:00
rust-demangle-expected libiberty rust-demangle, ignore .suffix 2022-02-17 18:06:24 +01:00
test-demangle.c Update copyright years. 2022-01-03 10:42:10 +01:00
test-expandargv.c Update copyright years. 2022-01-03 10:42:10 +01:00
test-pexecute.c Update copyright years. 2022-01-03 10:42:10 +01:00
test-strtol.c Update copyright years. 2022-01-03 10:42:10 +01:00