]>
Commit | Line | Data |
---|---|---|
d8a2d370 | 1 | /* Declarations for printing trees in human readable form |
7adcbafe | 2 | Copyright (C) 2013-2022 Free Software Foundation, Inc. |
d8a2d370 DN |
3 | |
4 | This file is part of GCC. | |
5 | ||
6 | GCC is free software; you can redistribute it and/or modify it under | |
7 | the terms of the GNU General Public License as published by the Free | |
8 | Software Foundation; either version 3, or (at your option) any later | |
9 | version. | |
10 | ||
11 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
12 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GCC; see the file COPYING3. If not see | |
18 | <http://www.gnu.org/licenses/>. */ | |
19 | ||
20 | #ifndef GCC_PRINT_TREE_H | |
21 | #define GCC_PRINT_TREE_H | |
22 | ||
23 | extern void debug_tree (tree); | |
24 | extern void debug_raw (const tree_node &ref); | |
25 | extern void debug_raw (const tree_node *ptr); | |
26 | extern void debug (const tree_node &ref); | |
27 | extern void debug (const tree_node *ptr); | |
28 | extern void debug_verbose (const tree_node &ref); | |
29 | extern void debug_verbose (const tree_node *ptr); | |
30 | extern void debug_head (const tree_node &ref); | |
31 | extern void debug_head (const tree_node *ptr); | |
32 | extern void debug_body (const tree_node &ref); | |
33 | extern void debug_body (const tree_node *ptr); | |
d8a2d370 DN |
34 | extern void debug (vec<tree, va_gc> &ref); |
35 | extern void debug (vec<tree, va_gc> *ptr); | |
36 | extern void debug_raw (vec<tree, va_gc> &ref); | |
37 | extern void debug_raw (vec<tree, va_gc> *ptr); | |
38 | #ifdef BUFSIZ | |
39 | extern void dump_addr (FILE*, const char *, const void *); | |
47044ef2 ML |
40 | extern void print_node (FILE *, const char *, tree, int, |
41 | bool brief_for_visited = true); | |
d8a2d370 DN |
42 | extern void print_node_brief (FILE *, const char *, const_tree, int); |
43 | extern void indent_to (FILE *, int); | |
44 | #endif | |
3cf3da88 EB |
45 | #define PRINT_DECL_ORIGIN 0x1 |
46 | #define PRINT_DECL_NAME 0x2 | |
47 | #define PRINT_DECL_UNIQUE_NAME 0x4 | |
48 | extern void print_decl_identifier (FILE *, tree, int flags); | |
d8a2d370 DN |
49 | |
50 | #endif // GCC_PRINT_TREE_H |