From 7ec8e6a2f669aa11f8327eac76c8502d19e3bd8a Mon Sep 17 00:00:00 2001 From: paolo Date: Thu, 1 Nov 2007 02:17:02 +0000 Subject: /cp 2007-10-31 Paolo Carlini PR c++/33494 * cxx-pretty-print.c (pp_cxx_typeid_expression, pp_cxx_delete_expression): Change to static linkage. * cxx-pretty-print.h: Adjust declarations. * error.c (dump_expr, case EXPR_PACK_EXPANSION, TYPEID_EXPR, MEMBER_REF, DOTSTAR_EXPR, DELETE_EXPR, VEC_DELETE_EXPR, MODOP_EXPR): Forward to pp_expression. * cxx-pretty-print.c (pp_cxx_expression, case NON_DEPENDENT_EXPR): Fix typo. /testsuite 2007-10-31 Paolo Carlini PR c++/33494 * g++.dg/template/error35.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129815 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/cxx-pretty-print.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gcc/cp/cxx-pretty-print.h') diff --git a/gcc/cp/cxx-pretty-print.h b/gcc/cp/cxx-pretty-print.h index 744ee5916bc..e7c4220614f 100644 --- a/gcc/cp/cxx-pretty-print.h +++ b/gcc/cp/cxx-pretty-print.h @@ -70,9 +70,7 @@ 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); void pp_cxx_va_arg_expression (cxx_pretty_printer *, tree); void pp_cxx_offsetof_expression (cxx_pretty_printer *, tree); -void pp_cxx_delete_expression (cxx_pretty_printer *, tree); #endif /* GCC_CXX_PRETTY_PRINT_H */ -- cgit v1.2.1