demangle-expected: Add regression test.

http://sourceware.org/bugzilla/show_bug.cgi?id=14065
	* testsuite/demangle-expected: Add regression test.
	* cp-demangle.c (d_find_pack): Return NULL for
	DEMANGLE_COMPONENT_UNNAMED_TYPE.

From-SVN: r187773
This commit is contained in:
Tom Tromey 2012-05-22 13:55:02 +00:00 committed by Tom Tromey
parent 3828719aa9
commit d931f693ce
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-05-22 Tom Tromey <tromey@redhat.com>
http://sourceware.org/bugzilla/show_bug.cgi?id=14065
* testsuite/demangle-expected: Add regression test.
* cp-demangle.c (d_find_pack): Return NULL for
DEMANGLE_COMPONENT_UNNAMED_TYPE.
2012-04-27 Tom Tromey <tromey@redhat.com>
* dwarfnames.c: New file.

View File

@ -3715,6 +3715,7 @@ d_find_pack (struct d_print_info *dpi,
case DEMANGLE_COMPONENT_SUB_STD:
case DEMANGLE_COMPONENT_CHARACTER:
case DEMANGLE_COMPONENT_FUNCTION_PARAM:
case DEMANGLE_COMPONENT_UNNAMED_TYPE:
return NULL;
case DEMANGLE_COMPONENT_EXTENDED_OPERATOR:

File diff suppressed because one or more lines are too long