C++: clean up cp_printer
authorDavid Malcolm <dmalcolm@redhat.com>
Sat, 28 Jul 2018 17:03:56 +0000 (17:03 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Sat, 28 Jul 2018 17:03:56 +0000 (17:03 +0000)
commit081b70a9021c3aa3a24b7357c0dfb4e39533ec8e
tree025b9bfecb995cb66be658580ebf342de2614c72
parent0058495eea5871e12cead59601a5a3117700ee5e
C++: clean up cp_printer

This makes it easier to compare cp_printer with gcc_cxxdiag_char_table
in c-format.c.

No functional change intended.

gcc/cp/ChangeLog:
* error.c (cp_printer): In the leading comment, move "%H" and "%I"
into alphabetical order, and add missing "%G" and "%K".  Within
the switch statement, move cases 'G', 'H', 'I' and 'K' so that the
cases are in alphabetical order.

From-SVN: r263046
gcc/cp/ChangeLog
gcc/cp/error.c