diff options
author | Gabriel Dos Reis <gdr@integrable-solutions.net> | 2013-08-04 16:47:42 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2013-08-04 16:47:42 +0000 |
commit | 137a1a27e25efa3c13842c1c91a55947ed005412 (patch) | |
tree | a9fb7dfe70a003cc0c4e1eece6d35bd2539f1fee /gcc/gimple-pretty-print.c | |
parent | 8ee9fbe1976e0e237ac5defc6ee398f9f5f77c9e (diff) | |
download | gcc-137a1a27e25efa3c13842c1c91a55947ed005412.zip gcc-137a1a27e25efa3c13842c1c91a55947ed005412.tar.gz gcc-137a1a27e25efa3c13842c1c91a55947ed005412.tar.bz2 |
pretty-print.h (pp_bar_bar): New.
* 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.
From-SVN: r201474
Diffstat (limited to 'gcc/gimple-pretty-print.c')
-rw-r--r-- | gcc/gimple-pretty-print.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/gimple-pretty-print.c b/gcc/gimple-pretty-print.c index 6f53932..436553a 100644 --- a/gcc/gimple-pretty-print.c +++ b/gcc/gimple-pretty-print.c @@ -436,7 +436,7 @@ dump_ternary_rhs (pretty_printer *buffer, gimple gs, int spc, int flags) dump_generic_node (buffer, gimple_assign_rhs2 (gs), spc, flags, false); pp_string (buffer, ", "); dump_generic_node (buffer, gimple_assign_rhs3 (gs), spc, flags, false); - pp_string (buffer, ">"); + pp_greater (buffer); break; case VEC_PERM_EXPR: @@ -446,7 +446,7 @@ dump_ternary_rhs (pretty_printer *buffer, gimple gs, int spc, int flags) dump_generic_node (buffer, gimple_assign_rhs2 (gs), spc, flags, false); pp_string (buffer, ", "); dump_generic_node (buffer, gimple_assign_rhs3 (gs), spc, flags, false); - pp_string (buffer, ">"); + pp_greater (buffer); break; case REALIGN_LOAD_EXPR: @@ -456,7 +456,7 @@ dump_ternary_rhs (pretty_printer *buffer, gimple gs, int spc, int flags) dump_generic_node (buffer, gimple_assign_rhs2 (gs), spc, flags, false); pp_string (buffer, ", "); dump_generic_node (buffer, gimple_assign_rhs3 (gs), spc, flags, false); - pp_string (buffer, ">"); + pp_greater (buffer); break; case COND_EXPR: @@ -474,7 +474,7 @@ dump_ternary_rhs (pretty_printer *buffer, gimple gs, int spc, int flags) dump_generic_node (buffer, gimple_assign_rhs2 (gs), spc, flags, false); pp_string (buffer, ", "); dump_generic_node (buffer, gimple_assign_rhs3 (gs), spc, flags, false); - pp_string (buffer, ">"); + pp_greater (buffer); break; default: @@ -757,7 +757,7 @@ dump_gimple_call (pretty_printer *buffer, gimple gs, int spc, int flags) if (props & PR_READONLY) pp_string (buffer, "readOnly "); - pp_string (buffer, "]"); + pp_right_bracket (buffer); } } @@ -1145,10 +1145,10 @@ dump_gimple_omp_for (pretty_printer *buffer, gimple gs, int spc, int flags) pp_greater (buffer); break; case LE_EXPR: - pp_string (buffer, "<="); + pp_less_equal (buffer); break; case GE_EXPR: - pp_string (buffer, ">="); + pp_greater_equal (buffer); break; default: gcc_unreachable (); @@ -1420,7 +1420,7 @@ dump_gimple_transaction (pretty_printer *buffer, gimple gs, int spc, int flags) } if (subcode) pp_printf (buffer, "0x%x ", subcode); - pp_string (buffer, "]"); + pp_right_bracket (buffer); } } @@ -1641,7 +1641,7 @@ dump_gimple_phi (pretty_printer *buffer, gimple phi, int spc, int flags) pp_string (buffer, " : "); } pp_decimal_int (buffer, xloc.line); - pp_string (buffer, ":"); + pp_colon (buffer); pp_decimal_int (buffer, xloc.column); pp_string (buffer, "] "); } @@ -1881,7 +1881,7 @@ pp_gimple_stmt_1 (pretty_printer *buffer, gimple gs, int spc, int flags) pp_string (buffer, " : "); } pp_decimal_int (buffer, xloc.line); - pp_string (buffer, ":"); + pp_colon (buffer); pp_decimal_int (buffer, xloc.column); pp_string (buffer, "] "); } |