Mercurial > hg > CbC > CbC_gcc
comparison gcc/tree-pretty-print.h @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
1 /* Various declarations for language-independent pretty-print | |
2 subroutines that are only for use in the compilers proper and not | |
3 the driver or other programs. | |
4 Copyright (C) 2002, 2003, 2004, 2007, 2008, 2009, 2010 | |
5 Free Software Foundation, Inc. | |
6 | |
7 This file is part of GCC. | |
8 | |
9 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 | |
11 Software Foundation; either version 3, or (at your option) any later | |
12 version. | |
13 | |
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
17 for more details. | |
18 | |
19 You should have received a copy of the GNU General Public License | |
20 along with GCC; see the file COPYING3. If not see | |
21 <http://www.gnu.org/licenses/>. */ | |
22 | |
23 #ifndef GCC_TREE_PRETTY_PRINT_H | |
24 #define GCC_TREE_PRETTY_PRINT_H | |
25 | |
26 #define pp_tree_identifier(PP, T) \ | |
27 pp_base_tree_identifier (pp_base (PP), T) | |
28 | |
29 #define pp_unsupported_tree(PP, T) \ | |
30 pp_verbatim (pp_base (PP), "#%qs not supported by %s#", \ | |
31 tree_code_name[(int) TREE_CODE (T)], __FUNCTION__) | |
32 | |
33 #define pp_ti_abstract_origin(TI) ((tree *) (TI)->x_data) | |
34 | |
35 extern void pp_base_tree_identifier (pretty_printer *, tree); | |
36 | |
37 /* In tree-pretty-print.c */ | |
38 extern void print_declaration (pretty_printer *, tree, int, int); | |
39 extern int dump_generic_node (pretty_printer *, tree, int, int, bool); | |
40 extern void print_generic_stmt (FILE *, tree, int); | |
41 extern void print_generic_stmt_indented (FILE *, tree, int, int); | |
42 extern void print_generic_expr (FILE *, tree, int); | |
43 extern void print_generic_decl (FILE *, tree, int); | |
44 extern void debug_c_tree (tree); | |
45 extern void dump_omp_clauses (pretty_printer *, tree, int, int); | |
46 extern void print_call_name (pretty_printer *, tree, int); | |
47 extern void debug_generic_expr (tree); | |
48 extern void debug_generic_stmt (tree); | |
49 extern void debug_tree_chain (tree); | |
50 extern void percent_K_format (text_info *); | |
51 | |
52 /* In toplev.c */ | |
53 extern bool default_tree_printer (pretty_printer *, text_info *, const char *, | |
54 int, bool, bool, bool); | |
55 | |
56 #endif /* ! GCC_TREE_PRETTY_PRINT_H */ |