Mercurial > hg > CbC > CbC_gcc
diff gcc/tree-diagnostic.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/tree-diagnostic.h Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/tree-diagnostic.h Thu Feb 13 11:34:05 2020 +0900 @@ -1,7 +1,7 @@ /* Various declarations for language-independent diagnostics subroutines that are only for use in the compilers proper and not the driver or other programs. - Copyright (C) 2000-2018 Free Software Foundation, Inc. + Copyright (C) 2000-2020 Free Software Foundation, Inc. This file is part of GCC. @@ -57,4 +57,12 @@ bool default_tree_printer (pretty_printer *, text_info *, const char *, int, bool, bool, bool, bool *, const char **); +extern void default_tree_diagnostic_path_printer (diagnostic_context *, + const diagnostic_path *); +extern json::value *default_tree_make_json_for_path (diagnostic_context *, + const diagnostic_path *); + +extern void maybe_unwind_expanded_macro_loc (diagnostic_context *context, + location_t where); + #endif /* ! GCC_TREE_DIAGNOSTIC_H */