Demangle C++17 fold-expressions.
authorJason Merrill <jason@redhat.com>
Mon, 18 Jul 2016 15:28:51 +0000 (11:28 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 18 Jul 2016 15:28:51 +0000 (11:28 -0400)
commit7864eaaff7740c356f4b5c0a9dd9765b64a667ef
tree71bba0c83fb0345dbe4c8523a8595db27c3d49b3
parent40f3e913345c7d43c4677631f90fdff0780d2dce
Demangle C++17 fold-expressions.

* cp-demangle.c (cplus_demangle_operators): Add f[lrLR].
(d_expression_1): Handle them.
(d_maybe_print_fold_expression): New.
(d_print_comp_inner): Use it.
(d_index_template_argument): Handle negative index.

From-SVN: r238437
libiberty/ChangeLog
libiberty/cp-demangle.c
libiberty/testsuite/demangle-expected