comparison gcc/tree-diagnostic.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents b7f97abdc517
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Various declarations for language-independent diagnostics 1 /* Various declarations for language-independent diagnostics
2 subroutines that are only for use in the compilers proper and not 2 subroutines that are only for use in the compilers proper and not
3 the driver or other programs. 3 the driver or other programs.
4 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 4 Copyright (C) 2000-2017 Free Software Foundation, Inc.
5 2010, Free Software Foundation, Inc.
6 5
7 This file is part of GCC. 6 This file is part of GCC.
8 7
9 GCC is free software; you can redistribute it and/or modify it under 8 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free 9 the terms of the GNU General Public License as published by the Free
47 diagnostic_context_auxiliary_data (DC) \ 46 diagnostic_context_auxiliary_data (DC) \
48 = (((DI) && diagnostic_abstract_origin (DI)) \ 47 = (((DI) && diagnostic_abstract_origin (DI)) \
49 ? diagnostic_abstract_origin (DI) \ 48 ? diagnostic_abstract_origin (DI) \
50 : current_function_decl) 49 : current_function_decl)
51 50
52 void default_tree_diagnostic_starter (diagnostic_context *, diagnostic_info *); 51 void diagnostic_report_current_function (diagnostic_context *,
53 extern void diagnostic_report_current_function (diagnostic_context *, 52 diagnostic_info *);
54 diagnostic_info *); 53 void virt_loc_aware_diagnostic_finalizer (diagnostic_context *,
54 diagnostic_info *);
55
56 void tree_diagnostics_defaults (diagnostic_context *context);
57 bool default_tree_printer (pretty_printer *, text_info *, const char *,
58 int, bool, bool, bool, bool, const char **);
55 59
56 #endif /* ! GCC_TREE_DIAGNOSTIC_H */ 60 #endif /* ! GCC_TREE_DIAGNOSTIC_H */