This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] gcc/*.[ch]: Fix comment formatting.


Hi,

Attached is a patch to fix comment formatting.  Committed as obvious.

Kazu Hirata

2003-10-05  Kazu Hirata  <kazu@cs.umass.edu>

	* c-pretty-print.c: Fix comment formatting.
	* cfglayout.c: Likewise.
	* cfgloopanal.c: Likewise.
	* cppcharset.c: Likewise.
	* dbxout.c: Likewise.
	* ggc-page.c: Likewise.
	* ggc.h: Likewise.
	* target.h: Likewise.

Index: c-pretty-print.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-pretty-print.c,v
retrieving revision 1.29
diff -u -r1.29 c-pretty-print.c
--- c-pretty-print.c	18 Sep 2003 15:05:53 -0000	1.29
+++ c-pretty-print.c	5 Oct 2003 13:06:36 -0000
@@ -81,7 +81,7 @@
 /* declarations.  */
 
 
-/* Helper functions. */
+/* Helper functions.  */
 
 void
 pp_c_whitespace (c_pretty_printer *pp)
@@ -223,7 +223,7 @@
   switch (TREE_CODE (t))
     {
     case POINTER_TYPE:
-      /* It is easier to handle C++ reference types here. */
+      /* It is easier to handle C++ reference types here.  */
     case REFERENCE_TYPE:
       if (TREE_CODE (TREE_TYPE (t)) == POINTER_TYPE)
         pp_c_pointer (pp, TREE_TYPE (t));
Index: cfglayout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfglayout.c,v
retrieving revision 1.47
diff -u -r1.47 cfglayout.c
--- cfglayout.c	29 Sep 2003 23:09:12 -0000	1.47
+++ cfglayout.c	5 Oct 2003 13:06:36 -0000
@@ -423,7 +423,7 @@
      the first valid instruction in the function and when that first
      insn is part of an inlined function then the low_pc of that
      inlined function is messed up.  Likewise for the epilogue and
-     the last valid instruction. */
+     the last valid instruction.  */
   if (loc == prologue_locator || loc == epilogue_locator)
     return DECL_INITIAL (cfun->decl);
 
Index: cfgloopanal.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cfgloopanal.c,v
retrieving revision 1.13
diff -u -r1.13 cfgloopanal.c
--- cfgloopanal.c	16 Sep 2003 17:16:25 -0000	1.13
+++ cfgloopanal.c	5 Oct 2003 13:06:38 -0000
@@ -992,7 +992,7 @@
       }
 
   /* Compute dfs numbering, starting from loop headers, and mark found
-     loops.*/
+     loops.  */
   tick = 0;
   for (i = 0; i < last_basic_block + loops->num; i++)
     {
Index: cppcharset.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cppcharset.c,v
retrieving revision 1.12
diff -u -r1.12 cppcharset.c
--- cppcharset.c	26 Sep 2003 05:52:43 -0000	1.12
+++ cppcharset.c	5 Oct 2003 13:06:39 -0000
@@ -93,7 +93,7 @@
 
 /* This structure is used for a resizable string buffer throughout.  */
 /* Don't call it strbuf, as that conflicts with unistd.h on systems
-   such as DYNIX/ptx where unistd.h includes stropts.h. */
+   such as DYNIX/ptx where unistd.h includes stropts.h.  */
 struct _cpp_strbuf
 {
   uchar *text;
Index: dbxout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/dbxout.c,v
retrieving revision 1.162
diff -u -r1.162 dbxout.c
--- dbxout.c	1 Oct 2003 23:37:30 -0000	1.162
+++ dbxout.c	5 Oct 2003 13:06:42 -0000
@@ -541,7 +541,7 @@
   dbxout_typedefs (syms);
 }
 
-/* Output any typedef names for types described by TYPE_DECLs in SYMS. */
+/* Output any typedef names for types described by TYPE_DECLs in SYMS.  */
 
 static void
 dbxout_typedefs (tree syms)
Index: ggc-page.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc-page.c,v
retrieving revision 1.76
diff -u -r1.76 ggc-page.c
--- ggc-page.c	4 Oct 2003 01:45:51 -0000	1.76
+++ ggc-page.c	5 Oct 2003 13:06:43 -0000
@@ -1984,7 +1984,7 @@
     fatal_error ("can't write PCH file: %m");
 
   /* If SIZE is not the same as OBJECT_SIZE(order), then we need to pad the
-     object out to OBJECT_SIZE(order).  This happens for strings. */
+     object out to OBJECT_SIZE(order).  This happens for strings.  */
 
   if (size != OBJECT_SIZE (order))
     {
@@ -1994,7 +1994,7 @@
          than most padding requests as the source for our null bytes.  This
          permits us to do the padding with fwrite() rather than fseek(), and
          limits the chance the the OS may try to flush any outstanding
-         writes. */
+         writes.  */
       if (padding <= sizeof(emptyBytes))
         {
           if (fwrite (emptyBytes, 1, padding, f) != padding)
@@ -2002,7 +2002,7 @@
         }
       else
         {
-          /* Larger than our buffer?  Just default to fseek. */
+          /* Larger than our buffer?  Just default to fseek.  */
           if (fseek (f, padding, SEEK_CUR) != 0)
             fatal_error ("can't write PCH file");
         }
Index: ggc.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc.h,v
retrieving revision 1.56
diff -u -r1.56 ggc.h
--- ggc.h	16 Jul 2003 18:45:51 -0000	1.56
+++ ggc.h	5 Oct 2003 13:06:44 -0000
@@ -63,7 +63,7 @@
 typedef void (*gt_pointer_walker) (void *);
 
 /* Structures for the easy way to mark roots.
-   In an array, terminated by having base == NULL.*/
+   In an array, terminated by having base == NULL.  */
 struct ggc_root_tab {
   void *base;
   size_t nelt;
Index: target.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/target.h,v
retrieving revision 1.64
diff -u -r1.64 target.h
--- target.h	2 Oct 2003 00:44:13 -0000	1.64
+++ target.h	5 Oct 2003 13:06:44 -0000
@@ -407,7 +407,7 @@
 				    tree type, int *pretend_arg_size, int second_time);
     bool (*strict_argument_naming) (CUMULATIVE_ARGS *ca);
     /* Returns true if we should use SETUP_INCOMING_VARARGS and/or
-       STRICT_ARGUMENT_NAMING. */
+       STRICT_ARGUMENT_NAMING.  */
     bool (*pretend_outgoing_varargs_named) (CUMULATIVE_ARGS *ca);
   } calls;
 };


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]