aboutsummaryrefslogtreecommitdiff
path: root/gcc/opt-problem.h
diff options
context:
space:
mode:
authorWill Wray <wjwray@gmail.com>2018-10-12 03:35:48 +0000
committerJeff Law <law@gcc.gnu.org>2018-10-11 21:35:48 -0600
commit79371671cb49d19c41a75d203420f65c39c12b21 (patch)
treeba6b0fbe86184862b329e056b407eb62eab5ee58 /gcc/opt-problem.h
parent0b8c3649a512c4cd1a846a2f3e86150e824cbb41 (diff)
downloadgcc-79371671cb49d19c41a75d203420f65c39c12b21.zip
gcc-79371671cb49d19c41a75d203420f65c39c12b21.tar.gz
gcc-79371671cb49d19c41a75d203420f65c39c12b21.tar.bz2
re PR c++/87364 (Pretty print of enumerator never prints the id, always falls back to C-style cast output)
PR c++/87364 * c-pretty-print.h (pp_c_type_cast): Prototype. (pp_c_integer_constant): Likewise. * c-pretty-print.c (pp_c_type_cast): No longer static. (pp_c_integer_constant): Likewise. (pp_c_enumeration_constant): Fix loop termination when finding name of constant. No longer returns a value. Call pp_c_integer_constant. (c_pretty_printer::constant): Update for changes to pp_c_enumeration_constant. PR c++/87364 * cxx-pretty-print.c (pp_cxx_enumeration_constant): New function. (cxx_pretty_printer::constant): Use it. From-SVN: r265077
Diffstat (limited to 'gcc/opt-problem.h')
0 files changed, 0 insertions, 0 deletions