diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-04 16:47:42 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-08-04 16:47:42 +0000 |
commit | 70d60d1dd965c1b72f4b3de3589df4382bf9d817 (patch) | |
tree | a9fb7dfe70a003cc0c4e1eece6d35bd2539f1fee /gcc/pretty-print.h | |
parent | bccb197ee8aff79d5ee8841bdf1e172557b1ef60 (diff) | |
download | gcc-70d60d1dd965c1b72f4b3de3589df4382bf9d817.tar.gz |
* pretty-print.h (pp_bar_bar): New.
(pp_ampersand_ampersand): Likewise.
(pp_less_equal): Likewise.
(pp_greater_equal): Likewise.
* gimple-pretty-print.c (dump_ternary_rhs): Use specialized pretty
printer functions instead of pp_string or operators and punctuators.
(dump_gimple_call): Likewise.
(dump_gimple_omp_for): Likewise.
(dump_gimple_transaction): Likewise.
(dump_gimple_phi): Likewise.
(pp_gimple_stmt_1): Likewise.
* sched-vis.c (print_insn): Likewise.
* tree-mudflap.c (mf_varname_tree): Likewise.
* tree-pretty-print.c (dump_block_node): Likewise.
(dump_generic_node): Likewise.
c-family/
* c-ada-spec.c (pp_ada_tree_identifier): Use specialized pretty
printer functions instead of pp_string or operators and punctuators.
(dump_generic_ada_node): Likewise.
* c-pretty-print.c (pp_c_type_specifier): Likewise.
(pp_c_relational_expression): Likewise.
(pp_c_logical_or_expression): Likewise.
cp/
* error.c (dump_type_prefix): Use specialized pretty printer
functions instead of pp_string or operators and punctuators.
(dump_decl): Likewise.
(dump_expr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r-- | gcc/pretty-print.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index f72c2359810..71489e6ad70 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -246,10 +246,14 @@ pp_base_get_prefix (const pretty_printer *pp) { return pp->prefix; } #define pp_equal(PP) pp_character (PP, '=') #define pp_question(PP) pp_character (PP, '?') #define pp_bar(PP) pp_character (PP, '|') +#define pp_bar_bar(PP) pp_string (PP, "||") #define pp_carret(PP) pp_character (PP, '^') #define pp_ampersand(PP) pp_character (PP, '&') +#define pp_ampersand_ampersand(PP) pp_string (PP, "&&") #define pp_less(PP) pp_character (PP, '<') +#define pp_less_equal(PP) pp_string (PP, "<=") #define pp_greater(PP) pp_character (PP, '>') +#define pp_greater_equal(PP) pp_string (PP, ">=") #define pp_plus(PP) pp_character (PP, '+') #define pp_minus(PP) pp_character (PP, '-') #define pp_star(PP) pp_character (PP, '*') |