Patchwork [committed] Fix comment in tree-pretty-printer.h

login
register
mail settings
Submitter Manuel López-Ibáñez
Date April 8, 2012, 11:37 p.m.
Message ID <CAESRpQD8dV7nfof=uUReu1UkJZcOtdN8heTWOPrJeJEGdhzRmQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/151380/
State New
Headers show

Comments

Manuel López-Ibáñez - April 8, 2012, 11:37 p.m.
Committed as obvious. I wasn't sure if one should move the declaration
to c-pretty-printer.h, but updating the comment cannot make any harm.

(And why default_tree_printer is in toplev.c?)

Patch

Index: gcc/tree-pretty-print.h
===================================================================
--- gcc/tree-pretty-print.h     (revision 186228)
+++ gcc/tree-pretty-print.h     (working copy)
@@ -43,7 +43,6 @@ 
 extern void print_generic_stmt_indented (FILE *, tree, int, int);
 extern void print_generic_expr (FILE *, tree, int);
 extern void print_generic_decl (FILE *, tree, int);
-extern void debug_c_tree (tree);
 extern void dump_omp_clauses (pretty_printer *, tree, int, int);
 extern void print_call_name (pretty_printer *, tree, int);
 extern void debug_generic_expr (tree);
@@ -55,5 +54,7 @@ 
 /* In toplev.c  */
 extern bool default_tree_printer (pretty_printer *, text_info *, const char *,
                                  int, bool, bool, bool);
+/* In c-pretty-print.c  */
+extern void debug_c_tree (tree);

 #endif /* ! GCC_TREE_PRETTY_PRINT_H */
Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog       (revision 186228)
+++ gcc/ChangeLog       (working copy)
@@ -1,3 +1,7 @@ 
+2012-04-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       * tree-pretty-print.h: Update comment.
+
 2012-04-08  Oleg Endo  <olegendo@gcc.gnu.org>

        * config/sh/sh.md: Use braced string notation where applicable.