diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-09-10 11:12:15 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-09-10 11:12:15 +0000 |
commit | 77880ae492b7b33e709c40806d03ea4b363be957 (patch) | |
tree | 9770f858b960f918d1d485d785228404ef76fbd1 /gcc/cp/class.c | |
parent | cad79bac6cdcd3fb0e6b1764819242fcee552297 (diff) | |
download | gcc-77880ae492b7b33e709c40806d03ea4b363be957.zip gcc-77880ae492b7b33e709c40806d03ea4b363be957.tar.gz gcc-77880ae492b7b33e709c40806d03ea4b363be957.tar.bz2 |
class.c, [...]: Fix comment typos.
* class.c, cp-tree.h, decl.c, decl2.c, mangle.c,
name-lookup.h, parser.c, search.c, semantics.c, typeck2.c: Fix
comment typos.
From-SVN: r87292
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r-- | gcc/cp/class.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 957151d..e15a38d 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -1247,7 +1247,7 @@ check_bases (tree t, /* Determine all the primary bases within T. Sets BINFO_PRIMARY_BASE_P for those that are primaries. Sets BINFO_LOST_PRIMARY_P for those that have had a nearly-empty virtual primary base stolen by some - other base in the heirarchy. Determines CLASSTYPE_PRIMARY_BASE for + other base in the hierarchy. Determines CLASSTYPE_PRIMARY_BASE for T. */ static void @@ -1320,7 +1320,7 @@ determine_primary_bases (tree t) /* A "nearly-empty" virtual base class can be the primary base class, if no non-virtual polymorphic base can be found. Look for a nearly-empty virtual dynamic base that is not already a primary - base of something in the heirarchy. If there is no such base, + base of something in the hierarchy. If there is no such base, just pick the first nearly-empty virtual base. */ for (base_binfo = TREE_CHAIN (type_binfo); base_binfo; @@ -3072,7 +3072,7 @@ check_field_decls (tree t, tree *access_decls, user at least implemented the cleanup correctly, and a destructor is needed to free dynamic memory. - This seems enough for pratical purposes. */ + This seems enough for practical purposes. */ if (warn_ecpp && has_pointers && TYPE_HAS_CONSTRUCTOR (t) |