This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] cp/*.c: Fix comment typos.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 8 Apr 2006 07:16:04 -0700
- Subject: [patch] cp/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2006-04-08 Kazu Hirata <kazu@codesourcery.com>
* decl2.c, pt.c, semantics.c: Fix comment typos.
Index: cp/decl2.c
===================================================================
--- cp/decl2.c (revision 112778)
+++ cp/decl2.c (working copy)
@@ -787,7 +787,7 @@ finish_static_data_member_decl (tree dec
cp_finish_decl (decl, init, init_const_expr_p, asmspec_tree, flags);
}
-/* DECLARATOR and DECLSPECS correspond to a class member. The othe
+/* DECLARATOR and DECLSPECS correspond to a class member. The other
parameters are as for cp_finish_decl. Return the DECL for the
class member declared. */
Index: cp/pt.c
===================================================================
--- cp/pt.c (revision 112778)
+++ cp/pt.c (working copy)
@@ -3984,7 +3984,7 @@ convert_template_argument (tree parm,
warning messages are issued under control of COMPLAIN.
If REQUIRE_ALL_ARGS is false, argument deduction will be performed
- for arugments not specified in ARGS. Otherwise, if
+ for arguments not specified in ARGS. Otherwise, if
USE_DEFAULT_ARGS is true, default arguments will be used to fill in
unspecified arguments. If REQUIRE_ALL_ARGS is true, but
USE_DEFAULT_ARGS is false, then all arguments must be specified in
Index: cp/semantics.c
===================================================================
--- cp/semantics.c (revision 112778)
+++ cp/semantics.c (working copy)
@@ -3512,7 +3512,7 @@ finish_omp_clauses (tree clauses)
while (TREE_CODE (inner_type) == ARRAY_TYPE)
inner_type = TREE_TYPE (inner_type);
- /* Check for special function availablity by building a call to one.
+ /* Check for special function availability by building a call to one.
Save the results, because later we won't be in the right context
for making these queries. */
if (CLASS_TYPE_P (inner_type)
@@ -3658,7 +3658,7 @@ finish_omp_structured_block (tree block)
return do_poplevel (block);
}
-/* Similarly, except force the retension of the BLOCK. */
+/* Similarly, except force the retention of the BLOCK. */
tree
begin_omp_parallel (void)