aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@gcc.gnu.org>2001-12-16 16:07:01 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-12-16 16:07:01 +0000
commitaba649ba4dad4ebb3305f13ba8b43ee1e2b641fc (patch)
treea547fc5e783eef7eb0de3501b691efc4a619b428 /gcc/cp/class.c
parent9d955c3ab799983c9d3e2afef1e8438d06e4c7fb (diff)
downloadgcc-aba649ba4dad4ebb3305f13ba8b43ee1e2b641fc.zip
gcc-aba649ba4dad4ebb3305f13ba8b43ee1e2b641fc.tar.gz
gcc-aba649ba4dad4ebb3305f13ba8b43ee1e2b641fc.tar.bz2
ChangeLog.1, [...]: Fix spelling errors.
* ChangeLog.1, ChangeLog.2, ChangeLog, NEWS, call.c, class.c, cp-tree.h, decl.c, decl2.c, except.c, operators.def, optimize.c, pt.c, rtti.c, semantics.c, typeck.c: Fix spelling errors. From-SVN: r48072
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 0b0d33f..b9ed718 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -1380,9 +1380,9 @@ check_bases (t, cant_have_default_ctor_p, cant_have_const_ctor_p,
}
}
-/* Binfo FROM is within a virtual heirarchy which is being reseated to
+/* Binfo FROM is within a virtual hierarchy which is being reseated to
TO. Move primary information from FROM to TO, and recursively traverse
- into FROM's bases. The heirarchy is dominated by TYPE. MAPPINGS is an
+ into FROM's bases. The hierarchy is dominated by TYPE. MAPPINGS is an
assoc list of binfos that have already been reseated. */
static void
@@ -1448,7 +1448,7 @@ force_canonical_binfo_r (to, from, type, mappings)
}
/* FROM is the canonical binfo for a virtual base. It is being reseated to
- make TO the canonical binfo, within the heirarchy dominated by TYPE.
+ make TO the canonical binfo, within the hierarchy dominated by TYPE.
MAPPINGS is an assoc list of binfos that have already been reseated.
Adjust any non-virtual bases within FROM, and also move any virtual bases
which are canonical. This complication arises because selecting primary
@@ -6907,7 +6907,7 @@ build_vtt (t)
}
/* The type corresponding to BASE_BINFO is a base of the type of BINFO, but
- from within some heirarchy which is inherited from the type of BINFO.
+ from within some hierarchy which is inherited from the type of BINFO.
Return BASE_BINFO's equivalent binfo from the hierarchy dominated by
BINFO. */