summaryrefslogtreecommitdiff
path: root/gcc/cp/cxx-pretty-print.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-25 18:05:29 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2013-08-25 18:05:29 +0000
commitf873303af72355489684a20bb0d08edbb2d622ed (patch)
treee3e822c597db970f5994f185079de90625e74346 /gcc/cp/cxx-pretty-print.h
parent8d68eb111ac5deb15742e74031eeec5a5481cb9b (diff)
downloadgcc-f873303af72355489684a20bb0d08edbb2d622ed.tar.gz
c-family/
* c-pretty-print.h (c_pretty_printer::primary_expression): Now a virtua member function. (pp_primary_expression): Adjust. (pp_c_primary_expression): Remove. * c-pretty-print.c (c_pretty_printer::primary_expression): Rename from pp_c_primary_expression. Adjust. (pp_c_initializer_list): Use pp_primary_expression. (c_pretty_printer::c_pretty_printer): Do not assign to primary_expression. cp/ * cxx-pretty-print.h (cxx_pretty_printer::primary_expression): Now an overrider of c_pretty_printer::primary_expression. * cxx-pretty-print.c (cxx_pretty_printer::primary_expression): Rename from pp_cxx_primary_expression. Adjust. (pp_cxx_postfix_expression): Use pp_primary_expression. (pp_cxx_ctor_initializer): Likewise. (cxx_pretty_printer::cxx_pretty_printer): Do not assign to primary_expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201978 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/cxx-pretty-print.h')
-rw-r--r--gcc/cp/cxx-pretty-print.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/cp/cxx-pretty-print.h b/gcc/cp/cxx-pretty-print.h
index 77447c30a1b..2e2391f8e3e 100644
--- a/gcc/cp/cxx-pretty-print.h
+++ b/gcc/cp/cxx-pretty-print.h
@@ -35,6 +35,7 @@ struct cxx_pretty_printer : c_pretty_printer
void constant (tree);
void id_expression (tree);
+ void primary_expression (tree);
/* This is the enclosing scope of the entity being pretty-printed. */
tree enclosing_scope;
};