From: Kazu Hirata Date: Mon, 16 Jun 2003 13:15:37 +0000 (+0000) Subject: cp-tree.h: Follow spelling conventions. X-Git-Tag: releases/gcc-3.4.0~5784 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4de8668e9c5dbabf27190c65ae105f0d735c0da2;p=thirdparty%2Fgcc.git cp-tree.h: Follow spelling conventions. * cp-tree.h: Follow spelling conventions. * mangle.c: Likewise. * method.c: Likewise. * parser.c: Likewise. From-SVN: r68015 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 11c73b9b786a..a85022ecd63c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,10 @@ +2003-06-16 Kazu Hirata + + * cp-tree.h: Follow spelling conventions. + * mangle.c: Likewise. + * method.c: Likewise. + * parser.c: Likewise. + 2003-06-14 Nathan Sidwell * decl.c (start_function): Adjust init_function_start call. diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 244eb1a3add3..6ed177ea9575 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 33df093fdb55..2c2a8be1e789 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 ef801aceb19f..2a08f70305b7 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 19172f00ea2d..ffb0bf876e1e 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)