summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 13:15:37 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-16 13:15:37 +0000
commitf1d555e3b5fb911e012af4b5ecd776b23d584f7b (patch)
treec17c08728aba17ad732901aab8725402f4b0767f
parent1d6dae881002490393bd45d1755e6dfee6dc6ca4 (diff)
downloadgcc-f1d555e3b5fb911e012af4b5ecd776b23d584f7b.tar.gz
* cp-tree.h: Follow spelling conventions.
* mangle.c: Likewise. * method.c: Likewise. * parser.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68015 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/cp/ChangeLog7
-rw-r--r--gcc/cp/cp-tree.h2
-rw-r--r--gcc/cp/mangle.c2
-rw-r--r--gcc/cp/method.c2
-rw-r--r--gcc/cp/parser.c14
5 files changed, 17 insertions, 10 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 11c73b9b786..a85022ecd63 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-16 Kazu Hirata <kazu@cs.umass.edu>
+
+ * cp-tree.h: Follow spelling conventions.
+ * mangle.c: Likewise.
+ * method.c: Likewise.
+ * parser.c: Likewise.
+
2003-06-14 Nathan Sidwell <nathan@codesourcery.com>
* decl.c (start_function): Adjust init_function_start call.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 244eb1a3add..6ed177ea957 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -849,7 +849,7 @@ struct language_function GTY(())
#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
diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c
index 33df093fdb5..2c2a8be1e78 100644
--- a/gcc/cp/mangle.c
+++ b/gcc/cp/mangle.c
@@ -2610,7 +2610,7 @@ mangle_call_offset (fixed_offset, virtual_offset)
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.
diff --git a/gcc/cp/method.c b/gcc/cp/method.c
index ef801aceb19..2a08f70305b 100644
--- a/gcc/cp/method.c
+++ b/gcc/cp/method.c
@@ -309,7 +309,7 @@ finish_thunk (tree thunk)
/* 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
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 19172f00ea2..ffb0bf876e1 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -384,7 +384,7 @@ cp_lexer_new_from_tokens (cp_token_cache *tokens)
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 @@ cp_lexer_next_token (cp_lexer* lexer, cp_token* token)
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 bool cp_parser_is_keyword
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 @@ cp_parser_parsing_tentatively (cp_parser* parser)
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 @@ cp_parser_is_string_literal (cp_token* token)
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 @@ cp_parser_committed_to_tentative_parse (cp_parser* parser)
&& 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 @@ cp_parser_error_occurred (cp_parser* parser)
&& 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)