From da1d7781e46e20a148ec5e277fb891301616e7c6 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 13 Dec 2003 04:28:50 +0000 Subject: [PATCH] ChangeLog: Fix typos. * ChangeLog: Fix typos. * ChangeLog.1: Likewise. * ChangeLog.2: Likewise. * call.c: Fix comment typos. * class.c: Likewise. * cxx-pretty-print.c: Likewise. * mangle.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * tree.c: Likewise. From-SVN: r74595 --- gcc/cp/ChangeLog | 4 ++-- gcc/cp/ChangeLog.1 | 4 ++-- gcc/cp/ChangeLog.2 | 6 +++--- gcc/cp/call.c | 2 +- gcc/cp/class.c | 2 +- gcc/cp/cxx-pretty-print.c | 2 +- gcc/cp/mangle.c | 2 +- gcc/cp/parser.c | 2 +- gcc/cp/pt.c | 2 +- gcc/cp/tree.c | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 427a36b..4b9f5cb 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -4970,7 +4970,7 @@ pointers to member functions. PR c++/8534 - * decl.c (build_ptrmemfunc_type): Do not allow default arugments + * decl.c (build_ptrmemfunc_type): Do not allow default arguments in pointer-to-member-function types. 2003-03-10 Gabriel Dos Reis @@ -17705,7 +17705,7 @@ * search.c (dfs_get_pure_virtuals): Use BV_FN. * semantics.c (emit_associated_thunks): New function. (expand_body): Use it. - * ir.texi: Adjust decriptions of thunks. + * ir.texi: Adjust descriptions of thunks. 2000-06-22 Jason Merrill diff --git a/gcc/cp/ChangeLog.1 b/gcc/cp/ChangeLog.1 index 4b4afd3..01ef399 100644 --- a/gcc/cp/ChangeLog.1 +++ b/gcc/cp/ChangeLog.1 @@ -1386,7 +1386,7 @@ Wed May 10 00:55:59 1995 Jason Merrill Tue May 9 19:10:33 1995 Mike Stump * decl2.c: Add flag_new_for_scope for new -ffor-scope flag. - * parse.y (FOR): Conditionalize the pushing and poping of scope for + * parse.y (FOR): Conditionalize the pushing and popping of scope for the for-init-statement upon the new flag_new_for_scope. * parse.y (try_block): Simplify and use compstmt. @@ -7211,7 +7211,7 @@ Thu Mar 31 19:50:35 1994 Jason Merrill Thu Mar 31 16:20:16 1994 Kung Hsu * decl2.c (grok_func_init): Do not abort as rtl for pur virtual - fucntions. They can be defined somewhere else. + functions. They can be defined somewhere else. Sat Jan 23 23:23:26 1994 Stephen R. van den Berg diff --git a/gcc/cp/ChangeLog.2 b/gcc/cp/ChangeLog.2 index 26dc387..7cb4ada 100644 --- a/gcc/cp/ChangeLog.2 +++ b/gcc/cp/ChangeLog.2 @@ -13405,7 +13405,7 @@ Tue Jan 27 16:42:21 1998 Mark Mitchell (classtype_mangled_name): Likewise. (lookup_template_class): Likewise. (tsubst): Likewise. - (more_specialized): Take explict template arguments as a + (more_specialized): Take explicit template arguments as a parameter. (most_specialized): Likewise. (get_bindings): Likewise. Check that return types match before @@ -13627,7 +13627,7 @@ Mon Jan 19 22:40:03 1998 Mark Mitchell (instantiate_template): Use retrieve_specialization. (do_decl_instantiation): Likewise. (instantiate_decl): Likewise. - (type_unification): Improve handling of explict template + (type_unification): Improve handling of explicit template arguments. * tree.c (mapcar): Return error_mark_node, rather than aborting, on VAR_DECLS, FUNCTION_DECLS, and CONST_DECLS. @@ -20213,7 +20213,7 @@ Tue Jan 16 11:39:40 1996 Jason Merrill Tue Jan 16 11:09:42 1996 Mike Stump - * decl.c (poplevel): When poping a level, don't give a warning for + * decl.c (poplevel): When popping a level, don't give a warning for any subblocks that already exist. Tue Jan 16 00:25:33 1996 Jason Merrill diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 16482dd..99ba8b1 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -3409,7 +3409,7 @@ prep_operand (tree operand) CANDIDATES. The ARGS are the arguments provided to the call, without any implicit object parameter. The EXPLICIT_TARGS are explicit template arguments provided. TEMPLATE_ONLY is true if - only template fucntions should be considered. CONVERSION_PATH, + only template functions should be considered. CONVERSION_PATH, ACCESS_PATH, and FLAGS are as for add_function_candidate. */ static void diff --git a/gcc/cp/class.c b/gcc/cp/class.c index ff615fe..2da8f8d 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -6617,7 +6617,7 @@ dump_class_hierarchy_1 (FILE *stream, int flags, tree t) fprintf (stream, "\n"); } -/* Debug interface to heirarchy dumping. */ +/* Debug interface to hierarchy dumping. */ extern void debug_class (tree t) diff --git a/gcc/cp/cxx-pretty-print.c b/gcc/cp/cxx-pretty-print.c index a27e258..029a2f2 100644 --- a/gcc/cp/cxx-pretty-print.c +++ b/gcc/cp/cxx-pretty-print.c @@ -1055,7 +1055,7 @@ pp_cxx_ptr_operator (cxx_pretty_printer *pp, tree t) pp_cxx_cv_qualifier_seq (pp, t); break; } - /* else fall trhough. */ + /* else fall through. */ default: pp_unsupported_tree (pp, t); diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index 351a7e2..ff8e6ea 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -2114,7 +2114,7 @@ write_template_arg (tree node) MANGLE_TRACE_TREE ("template-arg", node); - /* A template template paramter's argument list contains TREE_LIST + /* A template template parameter's argument list contains TREE_LIST nodes of which the value field is the the actual argument. */ if (code == TREE_LIST) { diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 3f8fe70..69bc78e 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -1851,7 +1851,7 @@ cp_parser_check_for_invalid_template_id (cp_parser* parser, cp_lexer_consume_token (parser->lexer); /* Parse the template arguments. */ cp_parser_enclosed_template_argument_list (parser); - /* Permanently remove the invalid template arugments so that + /* Permanently remove the invalid template arguments so that this error message is not issued again. */ if (start >= 0) { diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index cd293b9..2d31c4d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -972,7 +972,7 @@ is_specialization_of_friend (tree decl, tree friend) return 0; else if (is_template) { - /* If both are templates, check template paramter list. */ + /* If both are templates, check template parameter list. */ tree friend_parms = tsubst_template_parms (DECL_TEMPLATE_PARMS (friend), args, tf_none); diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 79d3736..f11320f 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -1996,7 +1996,7 @@ cp_walk_subtrees (tree* tp, case TYPENAME_TYPE: case TYPEOF_TYPE: case BASELINK: - /* None of thse have subtrees other than those already walked + /* None of these have subtrees other than those already walked above. */ *walk_subtrees_p = 0; break; -- 2.7.4