OSDN Git Service

* ChangeLog: Fix typos.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Dec 2003 04:28:50 +0000 (04:28 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 Dec 2003 04:28:50 +0000 (04:28 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74595 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/ChangeLog.1
gcc/cp/ChangeLog.2
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/cxx-pretty-print.c
gcc/cp/mangle.c
gcc/cp/parser.c
gcc/cp/pt.c
gcc/cp/tree.c

index 427a36b..4b9f5cb 100644 (file)
        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>
        * 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 4b4afd3..01ef399 100644 (file)
@@ -1386,7 +1386,7 @@ Wed May 10 00:55:59 1995  Jason Merrill  <jason@phydeaux.cygnus.com>
 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 19:50:35 1994  Jason Merrill  <jason@deneb.cygnus.com>
 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 26dc387..7cb4ada 100644 (file)
@@ -13405,7 +13405,7 @@ Tue Jan 27 16:42:21 1998  Mark Mitchell  <mmitchell@usa.net>
        (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  <mmitchell@usa.net>
        (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  <jason@yorick.cygnus.com>
 
 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 16482dd..99ba8b1 100644 (file)
@@ -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
index ff615fe..2da8f8d 100644 (file)
@@ -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)
index a27e258..029a2f2 100644 (file)
@@ -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);
index 351a7e2..ff8e6ea 100644 (file)
@@ -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)
     {
index 3f8fe70..69bc78e 100644 (file)
@@ -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)
        {
index cd293b9..2d31c4d 100644 (file)
@@ -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);
index 79d3736..f11320f 100644 (file)
@@ -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;