* pt.c, search.c: Fix comment typos.

From-SVN: r88749
This commit is contained in:
Kazu Hirata 2004-10-08 13:04:09 +00:00 committed by Kazu Hirata
parent 646544e310
commit ee81147e28
3 changed files with 8 additions and 4 deletions

View 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,

View 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)

View 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;