[patch] cp/*.[ch]: Follow spelling conventions.

Kazu Hirata kazu@cs.umass.edu
Mon Jun 16 13:35:00 GMT 2003


Hi,

Attached is a patch to follow spelling conventions.

Committed as obvious.

Kazu Hirata

2003-06-16  Kazu Hirata  <kazu@cs.umass.edu>

	* cp-tree.h: Follow spelling conventions.
	* mangle.c: Likewise.
	* method.c: Likewise.
	* parser.c: Likewise.

Index: cp-tree.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-tree.h,v
retrieving revision 1.851
diff -u -r1.851 cp-tree.h
--- cp-tree.h	12 Jun 2003 00:10:24 -0000	1.851
+++ cp-tree.h	16 Jun 2003 13:11:41 -0000
@@ -849,7 +849,7 @@
 
 #define doing_semantic_analysis_p() (!expanding_p)
 
-/* Non-zero if we are processing a base initializer.  Zero elsewhere.  */
+/* Nonzero if we are processing a base initializer.  Zero elsewhere.  */
 #define in_base_initializer cp_function_chain->in_base_initializer
 
 #define in_function_try_handler cp_function_chain->in_function_try_handler
Index: mangle.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/mangle.c,v
retrieving revision 1.70
diff -u -r1.70 mangle.c
--- mangle.c	11 Jun 2003 21:56:31 -0000	1.70
+++ mangle.c	16 Jun 2003 13:11:45 -0000
@@ -2610,7 +2610,7 @@
    covariant thunk to FN_DECL.  FIXED_OFFSET is the initial adjustment
    to this used to find the vptr.  If VIRTUAL_OFFSET is non-NULL, this
    is a virtual thunk, and it is the vtbl offset in
-   bytes. THIS_ADJUSTING is non-zero for a this adjusting thunk and
+   bytes. THIS_ADJUSTING is nonzero for a this adjusting thunk and
    zero for a covariant thunk. Note, that FN_DECL might be a covariant
    thunk itself. A covariant thunk name always includes the adjustment
    for the this pointer, even if there is none.
Index: method.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/method.c,v
retrieving revision 1.252
diff -u -r1.252 method.c
--- method.c	14 Jun 2003 17:33:28 -0000	1.252
+++ method.c	16 Jun 2003 13:11:45 -0000
@@ -309,7 +309,7 @@
 
 /* Adjust PTR by the constant FIXED_OFFSET, and by the vtable
    offset indicated by VIRTUAL_OFFSET, if that is
-   non-null. THIS_ADJUSTING is non-zero for a this adjusting thunk and
+   non-null. THIS_ADJUSTING is nonzero for a this adjusting thunk and
    zero for a result adjusting thunk. */
 
 static tree
Index: parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.63
diff -u -r1.63 parser.c
--- parser.c	25 May 2003 12:59:22 -0000	1.63
+++ parser.c	16 Jun 2003 13:11:49 -0000
@@ -384,7 +384,7 @@
   return lexer;
 }
 
-/* Returns non-zero if debugging information should be output.  */
+/* Returns nonzero if debugging information should be output.  */
 
 static inline bool
 cp_lexer_debugging_p (cp_lexer *lexer)
@@ -419,7 +419,7 @@
   return token;
 }
 
-/* Non-zero if we are presently saving tokens.  */
+/* nonzero if we are presently saving tokens.  */
 
 static int
 cp_lexer_saving_tokens (const cp_lexer* lexer)
@@ -1756,7 +1756,7 @@
 static tree cp_parser_scope_through_which_access_occurs
   (tree, tree, tree);
 
-/* Returns non-zero if we are parsing tentatively.  */
+/* Returns nonzero if we are parsing tentatively.  */
 
 static inline bool
 cp_parser_parsing_tentatively (cp_parser* parser)
@@ -1764,7 +1764,7 @@
   return parser->context->next != NULL;
 }
 
-/* Returns non-zero if TOKEN is a string literal.  */
+/* Returns nonzero if TOKEN is a string literal.  */
 
 static bool
 cp_parser_is_string_literal (cp_token* token)
@@ -1772,7 +1772,7 @@
   return (token->type == CPP_STRING || token->type == CPP_WSTRING);
 }
 
-/* Returns non-zero if TOKEN is the indicated KEYWORD.  */
+/* Returns nonzero if TOKEN is the indicated KEYWORD.  */
 
 static bool
 cp_parser_is_keyword (cp_token* token, enum rid keyword)
@@ -14632,7 +14632,7 @@
 	  && parser->context->status == CP_PARSER_STATUS_KIND_COMMITTED);
 }
 
-/* Returns non-zero iff an error has occurred during the most recent
+/* Returns nonzero iff an error has occurred during the most recent
    tentative parse.  */
    
 static bool
@@ -14642,7 +14642,7 @@
 	  && parser->context->status == CP_PARSER_STATUS_KIND_ERROR);
 }
 
-/* Returns non-zero if GNU extensions are allowed.  */
+/* Returns nonzero if GNU extensions are allowed.  */
 
 static bool
 cp_parser_allow_gnu_extensions_p (cp_parser* parser)



More information about the Gcc-patches mailing list