* pt.c, search.c: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Fri, 8 Oct 2004 13:04:09 +0000 (13:04 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Fri, 8 Oct 2004 13:04:09 +0000 (13:04 +0000)
From-SVN: r88749

gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/search.c

index 427a1e49ef8a9852ef3e6c9cb9e6adadbf67a213..80ea39131e90c63e9cd0be6057bd2d1e5a9e3379 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-08  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * pt.c, search.c: Fix comment typos.
+
 2004-10-08  Nathan Sidwell  <nathan@codesourcery.com>
 
        * cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp,
index bb3b78ab830d5ba8fdb3944541739e43bdfb2dea..9a869eaecd2205986e11de66d8b8ef932be8860f 100644 (file)
@@ -762,7 +762,7 @@ maybe_process_partial_specialization (tree type)
     error ("explicit specialization of non-template %qT", type);
 }
 
-/* Returns onzero if we can optimize the retrieval of specializations
+/* Returns nonzero if we can optimize the retrieval of specializations
    for TMPL, a TEMPLATE_DECL.  In particular, for such a template, we
    do not use DECL_TEMPLATE_SPECIALIZATIONS at all.  */
 
@@ -2417,7 +2417,7 @@ current_template_args (void)
 
 /* Return a TEMPLATE_DECL corresponding to DECL, using the indicated
    template PARMS.  If MEMBER_TEMPLATE_P is true, the new template is
-   a mebmer template.  Used by push_template_decl below.  */
+   a member template.  Used by push_template_decl below.  */
 
 static tree
 build_template_decl (tree decl, tree parms, bool member_template_p)
index 79c6839fdec833ca10219d490a77d1eed9406c74..cd6e9b2dc6549b3386027e3091bbe07b1c1b788b 100644 (file)
@@ -937,7 +937,7 @@ accessible_p (tree type, tree decl)
            encounter the same binfo twice.  */
       else if (!BINFO_INHERITANCE_CHAIN (binfo))
        {
-         /* We are at the top of the hierachy, and can use the
+         /* We are at the top of the hierarchy, and can use the
              CLASSTYPE_VBASECLASSES list for unmarking the virtual
              bases.  */
          VEC (tree) *vbases;
@@ -1653,7 +1653,7 @@ dfs_walk_once (tree binfo, tree (*pre_fn) (tree, void *),
       rval = dfs_walk_once_r (binfo, pre_fn, post_fn, data);
       if (!BINFO_INHERITANCE_CHAIN (binfo))
        {
-         /* We are at the top of the hierachy, and can use the
+         /* We are at the top of the hierarchy, and can use the
              CLASSTYPE_VBASECLASSES list for unmarking the virtual
              bases.  */
          VEC (tree) *vbases;