c-pretty-print.h (c_pretty_printer::id_expression): Now a virtual function.
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Sun, 25 Aug 2013 00:24:27 +0000 (00:24 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Sun, 25 Aug 2013 00:24:27 +0000 (00:24 +0000)
commit66dfe4c4f83eb1a3f42083251c989f271fa3b5cf
tree238b02b9d5f7acb7ad9b512c5376edf0261499fd
parent84deafd2c30fe64b6980d58ef9ac74395526fba8
c-pretty-print.h (c_pretty_printer::id_expression): Now a virtual function.

c-family/
* c-pretty-print.h (c_pretty_printer::id_expression): Now a
virtual function.
(pp_c_id_expression): Remove.
(pp_id_expression): Adjust.
* c-pretty-print.c (c_pretty_printer::id_expression): Rename from
pp_c_id_expression.  Adjust.
(pp_c_postfix_expression): Use pp_id_expression.
(c_pretty_printer::c_pretty_printer): Do not assign to id_expression.

cp/
* cxx-pretty-print.h (cxx_pretty_printer::id_expression): Declare.
* cxx-pretty-print.c (cxx_pretty_printer::id_expression): Rename
from pp_cxx_id_expression.  Adjust.
(pp_cxx_userdef_literal): Use pp_id_expression.
(pp_cxx_primary_expression): Likewise.
(pp_cxx_direct_declarator): Likewise.
(cxx_pretty_printer::cxx_pretty_printer): Do not assign to
id_expression.

From-SVN: r201973
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
gcc/cp/cxx-pretty-print.h