c-pretty-print.h (c_pretty_printer::translate_string): Declare.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 25 Aug 2013 05:51:54 +0000 (05:51 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 25 Aug 2013 05:51:54 +0000 (05:51 +0000)
commit0691175fe28c07b0dd6f619bbb9a20a0e1f055b7
tree42cae0fae566df7b683d8856116dd9f221c827ed
parent66dfe4c4f83eb1a3f42083251c989f271fa3b5cf
c-pretty-print.h (c_pretty_printer::translate_string): Declare.

c-family/
* c-pretty-print.h (c_pretty_printer::translate_string): Declare.
* c-pretty-print.c (M_): Remove.
(c_pretty_printer::translate_string): Define.
(pp_c_type_specifier): Use it.
(pp_c_primary_expression): Likewise.
(pp_c_expression): Likewise.

cp/
* cxx-pretty-print.c (M_): Remove.
(pp_cxx_unqualified_id): Use translate_string instead of M_.
(pp_cxx_canonical_template_parameter): Likewise.

From-SVN: r201974
gcc/c-family/ChangeLog
gcc/c-family/c-pretty-print.c
gcc/c-family/c-pretty-print.h
gcc/cp/ChangeLog
gcc/cp/cxx-pretty-print.c