This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Follow spelling conventions.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 14 Sep 2003 10:52:57 -0400 (EDT)
- Subject: [patch] Follow spelling conventions.
Hi,
Attached is a patch to follow spelling conventions. Committed as
obvious.
Kazu Hirata
2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
* alias.c: Follow spelling conventions.
* cpphash.h: Likewise.
* fold-const.c: Likewise.
2003-09-14 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Follow spelling conventions.
* parser.c: Likewise.
Index: alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/alias.c,v
retrieving revision 1.200
diff -u -r1.200 alias.c
--- alias.c 12 Sep 2003 15:07:48 -0000 1.200
+++ alias.c 14 Sep 2003 14:36:53 -0000
@@ -2202,7 +2202,7 @@
}
/* Returns nonzero if a write to X might alias a previous read from
- (or, if WRITEP is nonzero, a write to) MEM. If CONSTP is non-zero,
+ (or, if WRITEP is nonzero, a write to) MEM. If CONSTP is nonzero,
honor the RTX_UNCHANGING_P flags on X and MEM. */
static int
Index: cpphash.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cpphash.h,v
retrieving revision 1.198
diff -u -r1.198 cpphash.h
--- cpphash.h 26 Aug 2003 22:53:21 -0000 1.198
+++ cpphash.h 14 Sep 2003 14:36:54 -0000
@@ -371,7 +371,7 @@
directory. */
bool quote_ignores_source_dir;
- /* Non-zero if any file has contained #pragma once or #import has
+ /* Nonzero if any file has contained #pragma once or #import has
been used. */
bool seen_once_only;
Index: fold-const.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/fold-const.c,v
retrieving revision 1.302
diff -u -r1.302 fold-const.c
--- fold-const.c 9 Sep 2003 22:10:30 -0000 1.302
+++ fold-const.c 14 Sep 2003 14:36:58 -0000
@@ -1842,7 +1842,7 @@
same value in each operand/subexpression. Hence a zero value for
ONLY_CONST assumes isochronic (or instantaneous) tree equivalence.
If comparing arbitrary expression trees, such as from different
- statements, ONLY_CONST must usually be non-zero. */
+ statements, ONLY_CONST must usually be nonzero. */
int
operand_equal_p (tree arg0, tree arg1, int only_const)
Index: cp/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3675
diff -u -r1.3675 ChangeLog
--- cp/ChangeLog 13 Sep 2003 14:18:38 -0000 1.3675
+++ cp/ChangeLog 14 Sep 2003 14:37:10 -0000
@@ -785,7 +785,7 @@
2003-08-10 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (TMPL_ARGS_HAVE_MULTIPLE_LEVELS): non-NULL
- NODE is always a TREE_VEC of non-zero size.
+ NODE is always a TREE_VEC of nonzero size.
(NUM_TMPL_ARGS): NODE is always a TREE_VEC.
* decl2.c (arg_assoc): Template args will be a vec.
* error.c (dump_decl) <TEMPLATE_ID_EXPR case>: Call
Index: cp/parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.109
diff -u -r1.109 parser.c
--- cp/parser.c 6 Sep 2003 11:29:15 -0000 1.109
+++ cp/parser.c 14 Sep 2003 14:37:16 -0000
@@ -8112,7 +8112,7 @@
If DECLARES_CLASS_OR_ENUM is non-NULL, and the type-specifier is a
class-specifier, enum-specifier, or elaborated-type-specifier, then
- *DECLARES_CLASS_OR_ENUM is set to a non-zero value. The value is 1
+ *DECLARES_CLASS_OR_ENUM is set to a nonzero value. The value is 1
if a type is declared; 2 if it is defined. Otherwise, it is set to
zero.