aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-08 13:04:09 +0000
committerKazu Hirata <kazu@cs.umass.edu>2004-10-08 13:04:09 +0000
commitfb3804399d8a97a9652cca9f0e09faf8c6334578 (patch)
tree80f7bdd830ab652b75955dba7bc1baaef3ba10ba /gcc/cp/search.c
parent5bd62aac07cb1309ffceca97340442ddaf31b26e (diff)
* pt.c, search.c: Fix comment typos.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88749 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c4
1 files changed, 2 insertions, 2 deletions
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;