From d740dbe7b23a8ab51d23d85ed47049649502aa52 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 12 Oct 2004 13:24:18 +0000 Subject: [PATCH] * search.c: Fix comment typos. From-SVN: r88927 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/search.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index a9bcec97fe7..688a0d3bfaa 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-10-12 Kazu Hirata + + * search.c: Fix comment typos. + 2004-10-11 Mark Mitchell PR c++/15786 diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 5b642a35c60..9c3d23077f9 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -286,7 +286,7 @@ struct dcast_data_s derived. */ tree offset; /* Best hint offset discovered so far. */ bool repeated_base; /* Whether there are repeated bases in the - heirarchy. */ + hierarchy. */ }; /* Worker for dcast_base_hint. Search for the base type being cast @@ -1722,7 +1722,7 @@ dfs_walk_once_accessible (tree binfo, bool friends_p, { 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; -- 2.30.2