diff options
author | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-24 19:21:21 +0000 |
---|---|---|
committer | manu <manu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-24 19:21:21 +0000 |
commit | c224fa34178e236fd7e96702e5bcae0bc27f8506 (patch) | |
tree | 03ddeb5ba2cc3f34ce5c10654d25ba5d70db6fb7 /gcc/tree-diagnostic.h | |
parent | 7eaf7f7fb0f84466fcfa38db893d654155d99688 (diff) | |
download | gcc-c224fa34178e236fd7e96702e5bcae0bc27f8506.tar.gz |
2012-04-24 Manuel López-Ibáñez <manu@gcc.gnu.org>
gcc/
* tree-pretty-print.h (default_tree_printer): Do not declare.
* tree-diagnostic.c: Include tree-pretty-print.h, tree-pass.h and
intl.h.
(default_tree_diagnostic_starter): Make static.
(default_tree_printer): Move to here. Make static.
(tree_diagnostics_defaults): New.
* tree-diagnostic.h (default_tree_diagnostic_starter): Do not declare.
* tree.c (free_lang_data): Use tree_diagnostics_defaults.
* toplev.c: Do not include tree-pass.h.
(default_tree_printer): Move from here.
(general_init): Use tree_diagnostics_defaults.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186780 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-diagnostic.h')
-rw-r--r-- | gcc/tree-diagnostic.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/tree-diagnostic.h b/gcc/tree-diagnostic.h index 6b8e8e6e437..819792caaa7 100644 --- a/gcc/tree-diagnostic.h +++ b/gcc/tree-diagnostic.h @@ -49,9 +49,10 @@ along with GCC; see the file COPYING3. If not see ? diagnostic_abstract_origin (DI) \ : current_function_decl) -void default_tree_diagnostic_starter (diagnostic_context *, diagnostic_info *); -extern void diagnostic_report_current_function (diagnostic_context *, - diagnostic_info *); +void diagnostic_report_current_function (diagnostic_context *, + diagnostic_info *); void virt_loc_aware_diagnostic_finalizer (diagnostic_context *, diagnostic_info *); + +void tree_diagnostics_defaults (diagnostic_context *context); #endif /* ! GCC_TREE_DIAGNOSTIC_H */ |