* decl2.c, pt.c, semantics.c: Fix comment typos.
authorKazu Hirata <kazu@codesourcery.com>
Sat, 8 Apr 2006 14:15:44 +0000 (14:15 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sat, 8 Apr 2006 14:15:44 +0000 (14:15 +0000)
From-SVN: r112779

gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/cp/semantics.c

index 266e347..ea00b4b 100644 (file)
@@ -1,3 +1,7 @@
+2006-04-08  Kazu Hirata  <kazu@codesourcery.com>
+
+       * decl2.c, pt.c, semantics.c: Fix comment typos.
+
 2006-04-06  Roger Sayle  <roger@eyesopen.com>
 
        * call.c (null_ptr_cst_p): Add explicit TREE_CONSTANT_OVERFLOW check.
index 88d7e8e..ed26db2 100644 (file)
@@ -787,7 +787,7 @@ finish_static_data_member_decl (tree decl,
   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 6cb7865..adabe76 100644 (file)
@@ -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 1931dc9..114f3d2 100644 (file)
@@ -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)