Patchwork [pph] Fixed extra space typos in pph-streamer-out.c (issue4663041)

login
register
mail settings
Submitter Gab Charette
Date June 22, 2011, 11:03 p.m.
Message ID <20110622230326.19FDB1C0C7C@gchare.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/101560/
State New
Headers show

Comments

Gab Charette - June 22, 2011, 11:03 p.m.
I've had these two small changes around for a while after making a search and replace
for extra spaces in my own added code last week.

Tested with bootstrap and pph regression testing, you never know ;)

2011-06-22  Gabriel Charette  <gchare@google.com>

	* gcc/cp/pph-streamer-out.c (pph_out_lang_specific): 
	Removed extra space.
	(pph_write_tree): Removed extra space.


--
This patch is available for review at http://codereview.appspot.com/4663041
Diego Novillo - June 23, 2011, 5:15 p.m.
On Wed, Jun 22, 2011 at 19:03, Gabriel Charette <gchare@google.com> wrote:

> 2011-06-22  Gabriel Charette  <gchare@google.com>
>
>        * gcc/cp/pph-streamer-out.c (pph_out_lang_specific):
>        Removed extra space.
>        (pph_write_tree): Removed extra space.

OK.  Committed to branch.


Diego.

Patch

diff --git a/gcc/cp/pph-streamer-out.c b/gcc/cp/pph-streamer-out.c
index 32851a4..f219cef 100644
--- a/gcc/cp/pph-streamer-out.c
+++ b/gcc/cp/pph-streamer-out.c
@@ -714,7 +714,7 @@  pph_out_lang_specific (pph_stream *stream, tree decl, bool ref_p)
   ld = DECL_LANG_SPECIFIC (decl);
   if (!pph_out_start_record (stream, ld))
     return;
-    
+
   /* Write all the fields in lang_decl_base.  */
   ldb = &ld->u.base;
   pph_out_ld_base (stream, ldb);
@@ -1166,7 +1166,7 @@  pph_write_tree (struct output_block *ob, tree expr, bool ref_p)
           TI_TYPEDEFS_NEEDING_ACCESS_CHECKING (expr), ref_p);
       break;
 
-    case TEMPLATE_PARM_INDEX: 
+    case TEMPLATE_PARM_INDEX:
       {
         template_parm_index *p = TEMPLATE_PARM_INDEX_CAST (expr);
         pph_out_tree_common (stream, expr, ref_p);