diff options
author | Mike Stump <mrs@gcc.gnu.org> | 2006-06-06 11:44:09 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2006-06-06 11:44:09 +0000 |
commit | 3db45ab5922caf3331b231c9305ce7c0aa85862c (patch) | |
tree | f6bc5402cc736afb252a23b78b57e4d60b438ef9 /gcc/cp/cxx-pretty-print.c | |
parent | c713f9e49863d9d0f6d8744bd76a5e18eff1b6dc (diff) | |
download | gcc-3db45ab5922caf3331b231c9305ce7c0aa85862c.zip gcc-3db45ab5922caf3331b231c9305ce7c0aa85862c.tar.gz gcc-3db45ab5922caf3331b231c9305ce7c0aa85862c.tar.bz2 |
Fix up whitespacing
From-SVN: r114428
Diffstat (limited to 'gcc/cp/cxx-pretty-print.c')
-rw-r--r-- | gcc/cp/cxx-pretty-print.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c index 43fbe2b..5ceca61 100644 --- a/gcc/cp/cxx-pretty-print.c +++ b/gcc/cp/cxx-pretty-print.c @@ -300,12 +300,12 @@ pp_cxx_constant (cxx_pretty_printer *pp, tree t) { case STRING_CST: { - const bool in_parens = PAREN_STRING_LITERAL_P (t); - if (in_parens) - pp_cxx_left_paren (pp); - pp_c_constant (pp_c_base (pp), t); - if (in_parens) - pp_cxx_right_paren (pp); + const bool in_parens = PAREN_STRING_LITERAL_P (t); + if (in_parens) + pp_cxx_left_paren (pp); + pp_c_constant (pp_c_base (pp), t); + if (in_parens) + pp_cxx_right_paren (pp); } break; @@ -1757,7 +1757,7 @@ pp_cxx_namespace_alias_definition (cxx_pretty_printer *pp, tree t) pp_equal (pp); pp_cxx_whitespace (pp); if (DECL_CONTEXT (DECL_NAMESPACE_ALIAS (t))) - pp_cxx_nested_name_specifier (pp, + pp_cxx_nested_name_specifier (pp, DECL_CONTEXT (DECL_NAMESPACE_ALIAS (t))); pp_cxx_qualified_id (pp, DECL_NAMESPACE_ALIAS (t)); pp_cxx_semicolon (pp); @@ -1803,8 +1803,7 @@ pp_cxx_template_parameter_list (cxx_pretty_printer *pp, tree t) typename identifier(opt) typename identifier(opt) = type-id template < template-parameter-list > class identifier(opt) - template < template-parameter-list > class identifier(opt) = template-name -*/ + template < template-parameter-list > class identifier(opt) = template-name */ static void pp_cxx_template_parameter (cxx_pretty_printer *pp, tree t) |