diff options
author | Nathan Sidwell <nathan@acm.org> | 2016-12-12 12:52:37 -0500 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2016-12-12 12:52:37 -0500 |
commit | 88acc2e16743fc1e6384758c9a68cd6d2a8bbd46 (patch) | |
tree | e144ee82168a30bb3e355a038ccd3fffc0e0f803 /.cvsignore | |
parent | d36cab83a963f5bb3773e0218cc02f63b0851d0b (diff) | |
download | gdb-88acc2e16743fc1e6384758c9a68cd6d2a8bbd46.zip gdb-88acc2e16743fc1e6384758c9a68cd6d2a8bbd46.tar.gz gdb-88acc2e16743fc1e6384758c9a68cd6d2a8bbd46.tar.bz2 |
Port c++/78252 from GCC
PR c++/78252
* cp-demangle.c (struct d_print_info): Add is_lambda_arg field.
(d_print_init): Initialize it.
(d_print_comp_inner) <DEMANGLE_COMPONENT_TEMPLATE_PARAM>: Check
is_lambda_arg for auto.
<DEMANGLE_COMPONENT_REFERENCE,
DEMANGLE_COMPONENT_RVALUE_REFERENCE>: Skip smashing check when
is_lambda_arg.
<DEMANGLE_COMPONENT_LAMBDA>: Increment is_lambda_arg around arg
printing.
* testsuite/demangle-expected: Add lambda auto mangling cases.
Diffstat (limited to '.cvsignore')
0 files changed, 0 insertions, 0 deletions