c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now a virtual member...
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Wed, 4 Sep 2013 10:52:35 +0000 (10:52 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 4 Sep 2013 10:52:35 +0000 (10:52 +0000)
commit7c26172cf755ee765e45e8c0b3a8313a86995fe8
tree0fe4c66827ae72052a1e69520bb44f84627eeace
parent5f3783a66971f26fd9b6e6e1fbfc6b9c030a7c6f
c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now a virtual member function.

c-family/
* c-pretty-print.h (c_pretty_printer::simple_type_specifier): Now
a virtual member function.
(pp_simple_type_specifier): Remove.
(pp_c_type_specifier): Likewise.
* c-pretty-print.c (c_pretty_printer::simple_type_specifier):
Rename from pp_c_type_specifier.  Adjust.
(c_pretty_printer::c_pretty_printer): Do not assign to
simple_type_specifier.
cp/
* cxx-pretty-print.h (cxx_pretty_printer::simple_type_specifier):
Declare as overrider.
* cxx-pretty-print.c (cxx_pretty_printer::simple_type_specifier):
Rename from pp_cxx_simple_type_specifier.
(cxx_pretty_printer::cxx_pretty_printer): Do not assign to
simple_type_specifier.

From-SVN: r202247
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