summaryrefslogtreecommitdiff
path: root/gcc/c-pretty-print.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-07 18:52:53 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-07 18:52:53 +0000
commit2a9d763bddc9ff765170f2e839633cd7a4b820ff (patch)
treea053051804681d6afd59965f85bf34dfc364a70f /gcc/c-pretty-print.h
parent9db0cb25678bcc3a63e4997678e667f4eaf90bd5 (diff)
downloadgcc-2a9d763bddc9ff765170f2e839633cd7a4b820ff.tar.gz
* c-pretty-print.h (pp_c_left_brace): Declare.
(pp_c_right_brace): Likewise. * c-pretty-print.c (pp_c_left_brace): Now a function (pp_c_right_brace): Likewise. cp/ PR c++/11762 * error.c (dump_decl): Handle namespace-alias-definition. * decl.c (warn_extern_redeclared_static): There is no point in checking changes in storage class specifier for a namespace declaration. (duplicate_decls): Tidy diagnostic message. * cxx-pretty-print.c (pp_cxx_left_brace): New macro. (pp_cxx_right_brace): Likewise. (pp_cxx_original_namespace_definition): New function. (pp_cxx_namespace_alias_definition): Likewise. (pp_cxx_declaration): Use them. Handle NAMESPACE_DECLs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71175 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pretty-print.h')
-rw-r--r--gcc/c-pretty-print.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-pretty-print.h b/gcc/c-pretty-print.h
index 66ca33c7d5e..2bc1dbc168a 100644
--- a/gcc/c-pretty-print.h
+++ b/gcc/c-pretty-print.h
@@ -157,6 +157,8 @@ extern void pp_c_pretty_printer_init (c_pretty_printer *);
void pp_c_whitespace (c_pretty_printer *);
void pp_c_left_paren (c_pretty_printer *);
void pp_c_right_paren (c_pretty_printer *);
+void pp_c_left_brace (c_pretty_printer *);
+void pp_c_right_brace (c_pretty_printer *);
void pp_c_dot (c_pretty_printer *);
void pp_c_ampersand (c_pretty_printer *);
void pp_c_arrow (c_pretty_printer *);