aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cxx-pretty-print.h
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2007-09-18 15:38:02 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-09-18 15:38:02 +0000
commit2d65b828b292adf5e39bb71addbd671217211cd5 (patch)
tree0112eedeafb6663855a7150d4e7ef0f39d72379e /gcc/cp/cxx-pretty-print.h
parentbdfb7c6d56a79c4bb0c937ee1d4a7186a6aa3438 (diff)
downloadgcc-2d65b828b292adf5e39bb71addbd671217211cd5.zip
gcc-2d65b828b292adf5e39bb71addbd671217211cd5.tar.gz
gcc-2d65b828b292adf5e39bb71addbd671217211cd5.tar.bz2
re PR c++/33463 (Broken diagnostic: 'typeid_expr' not supported by dump_expr)
/cp 2007-09-18 Paolo Carlini <pcarlini@suse.de> PR c++/33463 * cxx-pretty-print.c (pp_cxx_postfix_expression): Split out case TYPEID_EXPR to... (pp_cxx_typeid_expression): ... here; use pp_cxx_left_paren and pp_cxx_right_paren. * cxx-pretty-print.h (pp_cxx_typeid_expression): Declare. * error.c (dump_expr): Use it. /testsuite 2007-09-18 Paolo Carlini <pcarlini@suse.de> PR c++/33463 * g++.dg/rtti/typeid6.C: New. From-SVN: r128582
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 2ae834f..f399fea 100644
--- a/gcc/cp/cxx-pretty-print.h
+++ b/gcc/cp/cxx-pretty-print.h
@@ -70,5 +70,6 @@ void pp_cxx_separate_with (cxx_pretty_printer *, int);
void pp_cxx_declaration (cxx_pretty_printer *, tree);
void pp_cxx_canonical_template_parameter (cxx_pretty_printer *, tree);
void pp_cxx_trait_expression (cxx_pretty_printer *, tree);
+void pp_cxx_typeid_expression (cxx_pretty_printer *, tree);
#endif /* GCC_CXX_PRETTY_PRINT_H */