]> gcc.gnu.org Git - gcc.git/commit
demangler: Structured Bindings
authorNathan Sidwell <nathan@acm.org>
Tue, 8 Mar 2022 21:00:35 +0000 (13:00 -0800)
committerNathan Sidwell <nathan@acm.org>
Tue, 17 May 2022 18:10:03 +0000 (11:10 -0700)
commit451894cadcf1210883ceefb2d69a0ed2d6a8cd8b
tree1d02872b057666ed99f2fbd5d5abb1bcefb2293b
parent7a3f38a966a52893fb5bae301a1a3d56961358fb
demangler: Structured Bindings

C++ Structured bindings have a mangling that has yet to be formally
documented.  However, it's been around for a while and shows up for
module support.

include/
* demangle.h (enum demangle_component_type): Add
DEMANGLE_COMPONENT_STRUCTURED_BINDING.
libiberty/
* cp-demangle.c (d_make_comp): Adjust.
(d_unqualified_name): Add 'DC' support.
(d_count_template_scopes): Adjust.
(d_print_comp_inner): Add structured binding.
* testsuite/demangle-expected: Add testcases.
include/demangle.h
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected
This page took 0.054667 seconds and 5 git commands to generate.