aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2013-10-25 13:56:51 +0000
committerGary Benson <gary@gcc.gnu.org>2013-10-25 13:56:51 +0000
commitc24d86bcb276c28e7bbd9a852bb816728aab34f9 (patch)
treedf929d3e5b0a21e524d9bcdfeeb9f821b3b53b76 /gcc/tree-inline.c
parentbb362135e2d0fa4bf0290d0b403a3c1fc591da9e (diff)
downloadgcc-c24d86bcb276c28e7bbd9a852bb816728aab34f9.zip
gcc-c24d86bcb276c28e7bbd9a852bb816728aab34f9.tar.gz
gcc-c24d86bcb276c28e7bbd9a852bb816728aab34f9.tar.bz2
cp-demangle.c (struct d_saved_scope): New structure.
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. From-SVN: r204068
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions