#include "diagnostic.h"


Go to the source code of this file.
Data Types | |
| type | pretty_print_info |
Defines | |
| #define | pp_left_paren(PPI) output_add_character (pp_buffer (PPI), '(') |
| #define | pp_right_paren(PPI) output_add_character (pp_buffer (PPI), ')') |
| #define | pp_left_bracket(PPI) output_add_character (pp_buffer (PPI), '[') |
| #define | pp_right_bracket(PPI) output_add_character (pp_buffer (PPI), ']') |
| #define | pp_left_brace(PPI) output_add_character (pp_buffer (PPI), '{') |
| #define | pp_right_brace(PPI) output_add_character (pp_buffer (PPI), '}') |
| #define | pp_semicolon(PPI) output_add_character (pp_buffer (PPI), ';') |
| #define | pp_comma(PPI) output_add_string (pp_buffer (PPI), ", ") |
| #define | pp_dot(PPI) output_add_character (pp_buffer (PPI), '.') |
| #define | pp_colon(PPI) output_add_character (pp_buffer (PPI), ':') |
| #define | pp_colon_colon(PPI) output_add_string (pp_buffer (PPI), "::") |
| #define | pp_arrow(PPI) output_add_string (pp_buffer (PPI), "->") |
| #define | pp_equal(PPI) output_add_character (pp_buffer (PPI), '=') |
| #define | pp_question(PPI) output_add_character (pp_buffer (PPI), '?') |
| #define | pp_bar(PPI) output_add_character (pp_buffer (PPI), '|') |
| #define | pp_carret(PPI) output_add_character (pp_buffer (PPI), '^') |
| #define | pp_ampersand(PPI) output_add_character (pp_buffer (PPI), '&') |
| #define | pp_less(PPI) output_add_character (pp_buffer (PPI), '<') |
| #define | pp_greater(PPI) output_add_character (pp_buffer (PPI), '>') |
| #define | pp_plus(PPI) output_add_character (pp_buffer (PPI), '+') |
| #define | pp_minus(PPI) output_add_character (pp_buffer (PPI), '-') |
| #define | pp_star(PPI) output_add_character (pp_buffer (PPI), '*') |
| #define | pp_slash(PPI) output_add_character (pp_buffer (PPI), '/') |
| #define | pp_modulo(PPI) output_add_character (pp_buffer (PPI), '%') |
| #define | pp_exclamation(PPI) output_add_character (pp_buffer (PPI), '!') |
| #define | pp_complement(PPI) output_add_character (pp_buffer (PPI), '~') |
| #define | pp_quote(PPI) output_add_character (pp_buffer (PPI), '\'') |
| #define | pp_backquote(PPI) output_add_character (pp_buffer (PPI), '`') |
| #define | pp_doublequote(PPI) output_add_character (pp_buffer (PPI), '"') |
| #define | pp_newline(PPI) output_add_newline (pp_buffer (PPI)) |
| #define | pp_character(PPI, C) output_add_character (pp_buffer (PPI), C) |
| #define | pp_whitespace(PPI) output_add_space (pp_buffer (PPI)) |
| #define | pp_indentation(PPI) output_indentation (pp_buffer (PPI)) |
| #define | pp_newline_and_indent(PPI, N) |
| #define | pp_separate_with(PPI, C) |
| #define | pp_format_scalar(PPI, F, S) output_formatted_scalar (pp_buffer (PPI), F, S) |
| #define | pp_wide_integer(PPI, I) pp_format_scalar (PPI, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) I) |
| #define | pp_pointer(PPI, P) pp_format_scalar (PPI, "%p", p) |
| #define | pp_identifier(PPI, ID) output_add_string (pp_buffer (PPI), ID) |
| #define | pp_tree_identifier(PPI, T) pp_identifier(PPI, IDENTIFIER_POINTER (T)) |
| #define | pp_unsupported_tree(PPI, T) |
Typedefs | |
| typedef unsigned int | pp_flags |
Enumerations | |
| enum | pp_padding { pp_none, pp_before, pp_after, pp_none, pp_before, pp_after, pp_none, pp_before, pp_after, pp_none, pp_before, pp_after } |
| #define pp_ampersand | ( | PPI | ) | output_add_character (pp_buffer (PPI), '&') |
Definition at line 60 of file pretty-print.h.
Referenced by dump_expr(), pp_c_ampersand(), pp_c_and_expression(), pp_c_primary_expression(), pp_c_unary_expression(), and pp_cxx_ptr_operator().
| #define pp_arrow | ( | PPI | ) | output_add_string (pp_buffer (PPI), "->") |
Definition at line 55 of file pretty-print.h.
Referenced by dump_expr(), pp_c_arrow(), and pp_c_postfix_expression().
| #define pp_backquote | ( | PPI | ) | output_add_character (pp_buffer (PPI), '`') |
Definition at line 71 of file pretty-print.h.
| #define pp_bar | ( | PPI | ) | output_add_character (pp_buffer (PPI), '|') |
| #define pp_carret | ( | PPI | ) | output_add_character (pp_buffer (PPI), '^') |
| #define pp_character | ( | PPI, | |||
| C | ) | output_add_character (pp_buffer (PPI), C) |
Definition at line 74 of file pretty-print.h.
Referenced by dump_array_domain(), dump_expr(), dump_function_declaration(), dump_generic_node(), dump_implicit_edges(), dump_omp_clause(), dump_type_prefix(), pp_base_format(), pp_base_format_text(), pp_c_char(), pp_c_character_constant(), pp_c_floating_constant(), pp_c_integer_constant(), pp_cxx_nonconsecutive_character(), pretty_print_string(), print_declaration(), and print_struct_decl().
| #define pp_colon | ( | PPI | ) | output_add_character (pp_buffer (PPI), ':') |
Definition at line 53 of file pretty-print.h.
Referenced by pp_c_conditional_expression(), pp_c_statement(), and pp_cxx_ctor_initializer().
| #define pp_colon_colon | ( | PPI | ) | output_add_string (pp_buffer (PPI), "::") |
| #define pp_comma | ( | PPI | ) | output_add_string (pp_buffer (PPI), ", ") |
Definition at line 51 of file pretty-print.h.
| #define pp_complement | ( | PPI | ) | output_add_character (pp_buffer (PPI), '~') |
Definition at line 69 of file pretty-print.h.
Referenced by pp_c_complement(), pp_c_unary_expression(), pp_cxx_postfix_expression(), and pp_cxx_unqualified_id().
| #define pp_dot | ( | PPI | ) | output_add_character (pp_buffer (PPI), '.') |
Definition at line 52 of file pretty-print.h.
Referenced by dump_expr(), pp_c_dot(), pp_c_initializer_list(), and pp_c_postfix_expression().
| #define pp_doublequote | ( | PPI | ) | output_add_character (pp_buffer (PPI), '"') |
| #define pp_equal | ( | PPI | ) | output_add_character (pp_buffer (PPI), '=') |
Definition at line 56 of file pretty-print.h.
Referenced by dump_parameters(), dump_template_bindings(), dump_template_parameter(), pp_c_assignment_expression(), pp_c_init_declarator(), pp_c_initializer_list(), pp_c_postfix_expression(), pp_c_statement(), pp_cxx_assignment_expression(), pp_cxx_namespace_alias_definition(), and pp_cxx_parameter_declaration_clause().
| #define pp_exclamation | ( | PPI | ) | output_add_character (pp_buffer (PPI), '!') |
Definition at line 68 of file pretty-print.h.
Referenced by pp_c_exclamation(), and pp_c_unary_expression().
| #define pp_greater | ( | PPI | ) | output_add_character (pp_buffer (PPI), '>') |
| #define pp_identifier | ( | PPI, | |||
| ID | ) | output_add_string (pp_buffer (PPI), ID) |
Definition at line 93 of file pretty-print.h.
Referenced by dump_aggr_type(), dump_binary_op(), dump_decl(), dump_expr(), dump_simple_decl(), dump_template_bindings(), dump_template_parms(), dump_type(), dump_type_prefix(), pp_c_char(), pp_c_equality_expression(), pp_c_identifier(), pp_c_integer_literal(), pp_c_logical_and_expression(), pp_c_logical_or_expression(), pp_c_postfix_expression(), pp_c_real_literal(), pp_c_relational_expression(), pp_c_shift_expression(), pp_c_statement(), pp_c_unary_expression(), and pp_cxx_statement().
| #define pp_indentation | ( | PPI | ) | output_indentation (pp_buffer (PPI)) |
Definition at line 76 of file pretty-print.h.
Referenced by pp_base_emit_prefix(), pp_base_indent(), pp_base_set_prefix(), pp_c_statement(), pp_clear_state(), pp_cxx_statement(), and reinit_cxx_pp().
| #define pp_left_brace | ( | PPI | ) | output_add_character (pp_buffer (PPI), '{') |
Definition at line 48 of file pretty-print.h.
Referenced by pp_c_initializer(), pp_c_left_brace(), pp_c_postfix_expression(), and pp_c_statement().
| #define pp_left_bracket | ( | PPI | ) | output_add_character (pp_buffer (PPI), '[') |
Definition at line 46 of file pretty-print.h.
Referenced by pp_c_left_bracket(), and pp_cxx_delete_expression().
| #define pp_left_paren | ( | PPI | ) | output_add_character (pp_buffer (PPI), '(') |
Definition at line 44 of file pretty-print.h.
Referenced by pp_c_left_paren(), pp_c_postfix_expression(), pp_cxx_new_expression(), and pp_cxx_postfix_expression().
| #define pp_less | ( | PPI | ) | output_add_character (pp_buffer (PPI), '<') |
| #define pp_minus | ( | PPI | ) | output_add_character (pp_buffer (PPI), '-') |
Definition at line 64 of file pretty-print.h.
Referenced by pp_c_additive_expression(), pp_c_unary_expression(), and pp_cxx_canonical_template_parameter().
| #define pp_modulo | ( | PPI | ) | output_add_character (pp_buffer (PPI), '%') |
Definition at line 67 of file pretty-print.h.
Referenced by pp_c_multiplicative_expression(), and pp_cxx_multiplicative_expression().
| #define pp_newline | ( | PPI | ) | output_add_newline (pp_buffer (PPI)) |
Definition at line 73 of file pretty-print.h.
Referenced by diagnostic_report_current_module(), dump_bb_end(), dump_bb_header(), dump_generic_bb_buff(), dump_generic_node(), dump_implicit_edges(), dump_phi_nodes(), newline_and_indent(), pp_base_character(), pp_c_function_definition(), pp_c_statement(), pp_wrap_text(), print_c_tree(), and print_struct_decl().
| #define pp_newline_and_indent | ( | PPI, | |||
| N | ) |
Value:
do { \ pp_indentation (PPI) += N; \ pp_newline (PPI); \ } while (0)
Definition at line 77 of file pretty-print.h.
Referenced by pp_c_statement(), pp_cxx_statement(), and pp_cxx_template_declaration().
| #define pp_plus | ( | PPI | ) | output_add_character (pp_buffer (PPI), '+') |
Definition at line 63 of file pretty-print.h.
Referenced by pp_c_additive_expression(), and pp_cxx_unary_expression().
| #define pp_pointer | ( | PPI, | |||
| P | ) | pp_format_scalar (PPI, "%p", p) |
Definition at line 91 of file pretty-print.h.
Referenced by pp_base_format(), and pp_base_format_text().
| #define pp_question | ( | PPI | ) | output_add_character (pp_buffer (PPI), '?') |
Definition at line 57 of file pretty-print.h.
Referenced by pp_c_conditional_expression(), and pp_cxx_conditional_expression().
| #define pp_quote | ( | PPI | ) | output_add_character (pp_buffer (PPI), '\'') |
Definition at line 70 of file pretty-print.h.
Referenced by pp_c_character_constant(), and pp_c_character_literal().
| #define pp_right_brace | ( | PPI | ) | output_add_character (pp_buffer (PPI), '}') |
Definition at line 49 of file pretty-print.h.
Referenced by pp_c_initializer(), pp_c_postfix_expression(), pp_c_right_brace(), and pp_c_statement().
| #define pp_right_bracket | ( | PPI | ) | output_add_character (pp_buffer (PPI), ']') |
Definition at line 47 of file pretty-print.h.
Referenced by pp_c_right_bracket(), and pp_cxx_delete_expression().
| #define pp_right_paren | ( | PPI | ) | output_add_character (pp_buffer (PPI), ')') |
Definition at line 45 of file pretty-print.h.
Referenced by pp_c_init_declarator(), pp_c_postfix_expression(), pp_c_right_paren(), pp_c_statement(), pp_cxx_new_expression(), and pp_cxx_postfix_expression().
| #define pp_semicolon | ( | PPI | ) | output_add_character (pp_buffer (PPI), ';') |
Definition at line 50 of file pretty-print.h.
Referenced by dump_generic_node(), pp_c_semicolon(), pp_c_statement(), and pp_cfg_jump().
| #define pp_separate_with | ( | PPI, | |||
| C | ) |
Value:
do { \ pp_character (PPI, C); \ pp_whitespace (PPI); \ } while (0)
Definition at line 82 of file pretty-print.h.
Referenced by pp_c_attributes(), pp_c_constructor_elts(), pp_c_expression(), pp_c_expression_list(), pp_c_initializer_list(), pp_c_parameter_type_list(), pp_c_postfix_expression(), pp_c_primary_expression(), pp_c_statement(), and pp_cxx_separate_with().
| #define pp_slash | ( | PPI | ) | output_add_character (pp_buffer (PPI), '/') |
Definition at line 66 of file pretty-print.h.
Referenced by pp_c_multiplicative_expression(), and pp_cxx_multiplicative_expression().
| #define pp_star | ( | PPI | ) | output_add_character (pp_buffer (PPI), '*') |
Definition at line 65 of file pretty-print.h.
Referenced by pp_c_multiplicative_expression(), pp_c_star(), pp_c_unary_expression(), pp_cxx_multiplicative_expression(), pp_cxx_pm_expression(), and pp_cxx_ptr_operator().
Definition at line 94 of file pretty-print.h.
Referenced by dump_decl_name(), dump_generic_node(), pp_c_attributes(), and pp_c_statement().
| #define pp_unsupported_tree | ( | PPI, | |||
| T | ) |
Value:
output_verbatim (pp_buffer(PPI), "#`%s' not supported by %s#",\ tree_code_name[(int) TREE_CODE (T)], __FUNCTION__)
Definition at line 96 of file pretty-print.h.
Referenced by dump_decl(), dump_expr(), dump_type(), dump_type_prefix(), dump_type_suffix(), pp_c_abstract_declarator(), pp_c_bool_constant(), pp_c_bool_literal(), pp_c_compound_literal(), pp_c_constant(), pp_c_declarator(), pp_c_direct_abstract_declarator(), pp_c_direct_declarator(), pp_c_expression(), pp_c_id_expression(), pp_c_initializer(), pp_c_initializer_list(), pp_c_literal(), pp_c_parameter_declaration(), pp_c_pointer(), pp_c_simple_type_specifier(), pp_c_statement(), pp_c_type_specifier(), pp_cxx_declaration(), pp_cxx_delete_expression(), pp_cxx_explicit_instantiation(), pp_cxx_explicit_specialization(), pp_cxx_new_expression(), pp_cxx_ptr_operator(), pp_cxx_template_parameter(), and pp_cxx_unqualified_id().
| #define pp_whitespace | ( | PPI | ) | output_add_space (pp_buffer (PPI)) |
Definition at line 75 of file pretty-print.h.
Referenced by pp_c_assignment_expression(), pp_c_init_declarator(), pp_c_postfix_expression(), and pp_c_statement().
| #define pp_wide_integer | ( | PPI, | |||
| I | ) | pp_format_scalar (PPI, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) I) |
Definition at line 89 of file pretty-print.h.
Referenced by dump_array_domain(), dump_generic_node(), dump_type_suffix(), pp_base_format(), pp_base_format_text(), pp_c_direct_abstract_declarator(), pp_c_integer_constant(), pp_c_integer_literal(), and pp_cxx_canonical_template_parameter().
| typedef unsigned int pp_flags |
Definition at line 28 of file pretty-print.h.
| enum pp_padding |
| pp_none | |
| pp_before | |
| pp_after | |
| pp_none | |
| pp_before | |
| pp_after | |
| pp_none | |
| pp_before | |
| pp_after | |
| pp_none | |
| pp_before | |
| pp_after |
Definition at line 30 of file pretty-print.h.
1.5.6