diff options
author | gary <gary@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-25 13:56:51 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-08 11:11:41 -0700 |
commit | 9548bbede51868a9a780d7d21ae16ac13e8bdf9b (patch) | |
tree | 14f29c8f5dc99e8be5a547a9a73a180a961e59d2 /Makefile.tpl | |
parent | ae6da67e35733eb8be443ae46ca9a24f8037a75d (diff) | |
download | gdb-9548bbede51868a9a780d7d21ae16ac13e8bdf9b.zip gdb-9548bbede51868a9a780d7d21ae16ac13e8bdf9b.tar.gz gdb-9548bbede51868a9a780d7d21ae16ac13e8bdf9b.tar.bz2 |
libiberty/ 2013-10-25 Gary Benson <gbenson@redhat.com>
* cp-demangle.c (struct d_saved_scope): New structure.
(struct d_print_info): New fields saved_scopes and
num_saved_scopes.
(d_print_init): Initialize the above.
(d_print_free): New function.
(cplus_demangle_print_callback): Call the above.
(d_copy_templates): New function.
(d_print_comp): New variables saved_templates and
need_template_restore.
[DEMANGLE_COMPONENT_REFERENCE,
DEMANGLE_COMPONENT_RVALUE_REFERENCE]: Capture scope the first
time the component is traversed, and use the captured scope for
subsequent traversals.
* testsuite/demangle-expected: Add regression test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.tpl')
0 files changed, 0 insertions, 0 deletions