C++: clean up cp_printer
commitd4d3e0854bc4b424f795dee22097181f2c5bf5dc
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jul 2018 17:03:56 +0000 (28 17:03 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Jul 2018 17:03:56 +0000 (28 17:03 +0000)
tree025b9bfecb995cb66be658580ebf342de2614c72
parent5ba044fc3a443274462527eed385732f7ecee3a8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263046 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/error.c