From: Kazu Hirata Date: Fri, 8 Oct 2004 13:04:09 +0000 (+0000) Subject: * pt.c, search.c: Fix comment typos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee81147e2809078a4f3014e4a13499002580bcb9;p=gcc.git * pt.c, search.c: Fix comment typos. From-SVN: r88749 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 427a1e49ef8..80ea39131e9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-10-08 Kazu Hirata + + * pt.c, search.c: Fix comment typos. + 2004-10-08 Nathan Sidwell * cp-tree.h (dfs_walk, dfs_walk_real, dfs_unmark, markedp, diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index bb3b78ab830..9a869eaecd2 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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) diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 79c6839fdec..cd6e9b2dc65 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -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;