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/*: Fix comment formatting.


Hi,

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

Kazu Hirata

2003-08-22  Kazu Hirata  <kazu@cs.umass.edu>

	* builtin-attrs.def: Fix comment formatting.
	* c-pretty-print.c: Likewise.
	* diagnostic.h: Likewise.
	* langhooks.h: Likewise.
	* recog.c: Likewise.
	* simplify-rtx.c: Likewise.
	* tree.def: Likewise.

Index: builtin-attrs.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/builtin-attrs.def,v
retrieving revision 1.10
diff -u -r1.10 builtin-attrs.def
--- builtin-attrs.def	3 Aug 2003 03:23:12 -0000	1.10
+++ builtin-attrs.def	22 Aug 2003 06:22:57 -0000
@@ -104,22 +104,22 @@
 			ATTR_NOTHROW_LIST)
 DEF_ATTR_TREE_LIST (ATTR_NOTHROW_NONNULL_3, ATTR_NONNULL, ATTR_LIST_3, \
 			ATTR_NOTHROW_LIST)
-/* Nothrow functions whose first and second parameters are nonnull pointers. */
+/* Nothrow functions whose first and second parameters are nonnull pointers.  */
 DEF_ATTR_TREE_LIST (ATTR_NOTHROW_NONNULL_1_2, ATTR_NONNULL, ATTR_LIST_2, \
 			ATTR_NOTHROW_NONNULL_1)
-/* Nothrow functions whose first and fourth parameters are nonnull pointers. */
+/* Nothrow functions whose first and fourth parameters are nonnull pointers.  */
 DEF_ATTR_TREE_LIST (ATTR_NOTHROW_NONNULL_1_4, ATTR_NONNULL, ATTR_LIST_4, \
 			ATTR_NOTHROW_NONNULL_1)
-/* Nothrow const functions whose first parameter is a nonnull pointer. */
+/* Nothrow const functions whose first parameter is a nonnull pointer.  */
 DEF_ATTR_TREE_LIST (ATTR_CONST_NOTHROW_NONNULL_1, ATTR_CONST, ATTR_NULL, \
 			ATTR_NOTHROW_NONNULL_1)
-/* Nothrow pure functions whose first parameter is a nonnull pointer. */
+/* Nothrow pure functions whose first parameter is a nonnull pointer.  */
 DEF_ATTR_TREE_LIST (ATTR_PURE_NOTHROW_NONNULL_1, ATTR_PURE, ATTR_NULL, \
 			ATTR_NOTHROW_NONNULL_1)
-/* Nothrow pure functions whose first and second parameters are nonnull pointers. */
+/* Nothrow pure functions whose first and second parameters are nonnull pointers.  */
 DEF_ATTR_TREE_LIST (ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_PURE, ATTR_NULL, \
 			ATTR_NOTHROW_NONNULL_1_2)
-/* Nothrow malloc functions whose first parameter is a nonnull pointer. */
+/* Nothrow malloc functions whose first parameter is a nonnull pointer.  */
 DEF_ATTR_TREE_LIST (ATTR_MALLOC_NOTHROW_NONNULL_1, ATTR_MALLOC, ATTR_NULL, \
 			ATTR_NOTHROW_NONNULL_1)
 
Index: c-pretty-print.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-pretty-print.c,v
retrieving revision 1.23
diff -u -r1.23 c-pretty-print.c
--- c-pretty-print.c	19 Aug 2003 23:21:52 -0000	1.23
+++ c-pretty-print.c	22 Aug 2003 06:22:58 -0000
@@ -1142,7 +1142,7 @@
           pp_c_id_expression (ppi, TREE_OPERAND (e, 0));
           break;
         }
-      /* else fall through.   */
+      /* else fall through.  */
 
     default:
       pp_primary_expression (ppi, e);
Index: diagnostic.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/diagnostic.h,v
retrieving revision 1.65
diff -u -r1.65 diagnostic.h
--- diagnostic.h	5 Aug 2003 19:23:12 -0000	1.65
+++ diagnostic.h	22 Aug 2003 06:22:58 -0000
@@ -57,7 +57,7 @@
    the context of a diagnostic message.  */
 struct diagnostic_context
 {
-  /* Where most of the diagnostic formatting work is done.   */
+  /* Where most of the diagnostic formatting work is done.  */
   pretty_printer *printer;
 
   /* The number of times we have issued diagnostics.  */
Index: langhooks.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/langhooks.h,v
retrieving revision 1.70
diff -u -r1.70 langhooks.h
--- langhooks.h	19 Aug 2003 23:04:36 -0000	1.70
+++ langhooks.h	22 Aug 2003 06:23:00 -0000
@@ -362,7 +362,7 @@
   tree (*expr_size) (tree);
 
   /* Called from uninitialized_vars_warning to find out if a variable is
-     uninitialized based on DECL_INITIAL. */
+     uninitialized based on DECL_INITIAL.  */
   bool (*decl_uninit) (tree);
 
   /* Pointers to machine-independent attribute tables, for front ends
Index: recog.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/recog.c,v
retrieving revision 1.185
diff -u -r1.185 recog.c
--- recog.c	22 Jul 2003 23:15:29 -0000	1.185
+++ recog.c	22 Aug 2003 06:23:01 -0000
@@ -1949,7 +1949,7 @@
    because the amount of the increment depends on the mode.  */
 
 int
-mode_dependent_address_p (rtx addr ATTRIBUTE_UNUSED /* Maybe used in GO_IF_MODE_DEPENDENT_ADDRESS. */)
+mode_dependent_address_p (rtx addr ATTRIBUTE_UNUSED /* Maybe used in GO_IF_MODE_DEPENDENT_ADDRESS.  */)
 {
   GO_IF_MODE_DEPENDENT_ADDRESS (addr, win);
   return 0;
Index: simplify-rtx.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/simplify-rtx.c,v
retrieving revision 1.154
diff -u -r1.154 simplify-rtx.c
--- simplify-rtx.c	19 Aug 2003 21:04:38 -0000	1.154
+++ simplify-rtx.c	22 Aug 2003 06:23:02 -0000
@@ -3163,7 +3163,7 @@
       if (swap_commutative_operands_p (XEXP (x, 0), XEXP (x, 1)))
 	return simplify_gen_binary (code, mode, XEXP (x, 1), XEXP (x, 0));
 
-      /* Fall through.... */
+      /* Fall through....  */
 
     case '2':
       return simplify_binary_operation (code, mode, XEXP (x, 0), XEXP (x, 1));
Index: tree.def
===================================================================
RCS file: /cvs/gcc/gcc/gcc/tree.def,v
retrieving revision 1.62
diff -u -r1.62 tree.def
--- tree.def	17 Jul 2003 13:25:20 -0000	1.62
+++ tree.def	22 Aug 2003 06:23:03 -0000
@@ -274,7 +274,7 @@
 /* Contents are in TREE_VECTOR_CST_ELTS field.  */
 DEFTREECODE (VECTOR_CST, "vector_cst", 'c', 0)     
 
-/* Contents are TREE_STRING_LENGTH and TREE_STRING_POINTER fields. */
+/* Contents are TREE_STRING_LENGTH and TREE_STRING_POINTER fields.  */
 DEFTREECODE (STRING_CST, "string_cst", 'c', 0)
 
 /* Declarations.  All references to names are represented as ..._DECL


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