This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp/*: Fix comment/ChangeLog typos.
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 12 Dec 2003 23:28:53 -0500 (EST)
- Subject: [patch] cp/*: Fix comment/ChangeLog typos.
Hi,
Committed as obvious without a ChangeLog entry. (See
http://sources.redhat.com/ml/binutils/2003-10/msg00667.html.)
Kazu Hirata
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3797
diff -u -r1.3797 ChangeLog
--- ChangeLog 12 Dec 2003 18:22:21 -0000 1.3797
+++ ChangeLog 13 Dec 2003 04:22:37 -0000
@@ -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 <gdr@integrable-solutions.net>
@@ -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 <jason@redhat.com>
Index: ChangeLog.1
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog.1,v
retrieving revision 1.8
diff -u -r1.8 ChangeLog.1
--- ChangeLog.1 15 Sep 2002 17:55:36 -0000 1.8
+++ ChangeLog.1 13 Dec 2003 04:22:43 -0000
@@ -1386,7 +1386,7 @@
Tue May 9 19:10:33 1995 Mike Stump <mrs@cygnus.com>
* 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 16:20:16 1994 Kung Hsu <kung@mexican.cygnus.com>
* 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 <berg@pool.informatik.rwth-aachen.de>
Index: ChangeLog.2
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog.2,v
retrieving revision 1.4
diff -u -r1.4 ChangeLog.2
--- ChangeLog.2 21 Sep 2002 12:51:52 -0000 1.4
+++ ChangeLog.2 13 Dec 2003 04:22:55 -0000
@@ -13405,7 +13405,7 @@
(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 @@
(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:09:42 1996 Mike Stump <mrs@cygnus.com>
- * 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 <jason@yorick.cygnus.com>
Index: call.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/call.c,v
retrieving revision 1.443
diff -u -r1.443 call.c
--- call.c 9 Dec 2003 04:08:49 -0000 1.443
+++ call.c 13 Dec 2003 04:22:58 -0000
@@ -3409,7 +3409,7 @@
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
Index: class.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/class.c,v
retrieving revision 1.586
diff -u -r1.586 class.c
--- class.c 12 Dec 2003 18:22:22 -0000 1.586
+++ class.c 13 Dec 2003 04:23:02 -0000
@@ -6617,7 +6617,7 @@
fprintf (stream, "\n");
}
-/* Debug interface to heirarchy dumping. */
+/* Debug interface to hierarchy dumping. */
extern void
debug_class (tree t)
Index: cxx-pretty-print.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cxx-pretty-print.c,v
retrieving revision 1.11
diff -u -r1.11 cxx-pretty-print.c
--- cxx-pretty-print.c 8 Dec 2003 20:29:14 -0000 1.11
+++ cxx-pretty-print.c 13 Dec 2003 04:23:02 -0000
@@ -1055,7 +1055,7 @@
pp_cxx_cv_qualifier_seq (pp, t);
break;
}
- /* else fall trhough. */
+ /* else fall through. */
default:
pp_unsupported_tree (pp, t);
Index: mangle.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/mangle.c,v
retrieving revision 1.90
diff -u -r1.90 mangle.c
--- mangle.c 11 Dec 2003 15:35:37 -0000 1.90
+++ mangle.c 13 Dec 2003 04:23:03 -0000
@@ -2114,7 +2114,7 @@
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)
{
Index: parser.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/parser.c,v
retrieving revision 1.129
diff -u -r1.129 parser.c
--- parser.c 6 Dec 2003 06:53:01 -0000 1.129
+++ parser.c 13 Dec 2003 04:23:09 -0000
@@ -1851,7 +1851,7 @@
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)
{
Index: pt.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/pt.c,v
retrieving revision 1.800
diff -u -r1.800 pt.c
--- pt.c 13 Dec 2003 00:23:51 -0000 1.800
+++ pt.c 13 Dec 2003 04:23:15 -0000
@@ -972,7 +972,7 @@
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);
Index: tree.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/tree.c,v
retrieving revision 1.356
diff -u -r1.356 tree.c
--- tree.c 9 Dec 2003 04:08:50 -0000 1.356
+++ tree.c 13 Dec 2003 04:23:16 -0000
@@ -1996,7 +1996,7 @@
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;