diff options
author | Kazu Hirata <kazu@gcc.gnu.org> | 2002-11-15 05:46:34 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-11-15 05:46:34 +0000 |
commit | 90024bdce00c22606c92ecb32070db2986c51ad6 (patch) | |
tree | 869be1fe86ca52d326863e6554cb166ccaec6263 | |
parent | 24985bebe5ba146d0d39eaeefd8332fb98fd10ae (diff) | |
download | gcc-90024bdce00c22606c92ecb32070db2986c51ad6.zip gcc-90024bdce00c22606c92ecb32070db2986c51ad6.tar.gz gcc-90024bdce00c22606c92ecb32070db2986c51ad6.tar.bz2 |
ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
* class.c: Likewise.
* decl2.c: Likewise.
From-SVN: r59117
-rw-r--r-- | gcc/cp/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/cp/class.c | 6 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 2 |
3 files changed, 11 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ad568b0..f4f98e0 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2002-11-15 Kazu Hirata <kazu@cs.umass.edu> + + * ChangeLog: Follow spelling conventions. + * class.c: Likewise. + * decl2.c: Likewise. + 2002-11-14 Zack Weinberg <zack@codesourcery.com> * search.c (dfs_push_decls): Do not try to reorder elements @@ -237,7 +243,7 @@ (layout_nonempty_base_or_field): Do not check for conflicts when laying out a virtual base using the GCC 3.2 ABI. (build_base_field): Correct checking for presence of empty classes - at non-zero offsets when clearing CLASSTYPE_NEARLY_EMPTY_P. + at nonzero offsets when clearing CLASSTYPE_NEARLY_EMPTY_P. * class.c (include_empty_classes): Use normalize_rli. (layout_class_type): Likewise. diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 3c2084d..a36b981 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -3673,7 +3673,7 @@ layout_nonempty_base_or_field (record_layout_info rli, /* Now that we know where it will be placed, update its BINFO_OFFSET. */ if (binfo && CLASS_TYPE_P (BINFO_TYPE (binfo))) - /* Indirect virtual bases may have a non-zero BINFO_OFFSET at + /* Indirect virtual bases may have a nonzero BINFO_OFFSET at this point because their BINFO_OFFSET is copied from another hierarchy. Therefore, we may not need to add the entire OFFSET. */ @@ -3684,7 +3684,7 @@ layout_nonempty_base_or_field (record_layout_info rli, t); } -/* Returns true if TYPE is empty and OFFSET is non-zero. */ +/* Returns true if TYPE is empty and OFFSET is nonzero. */ static int empty_base_at_nonzero_offset_p (tree type, @@ -3817,7 +3817,7 @@ build_base_field (record_layout_info rli, tree binfo, CLASSTYPE_NEARLY_EMPTY_P (t) = 0; /* The check above (used in G++ 3.2) is insufficient because an empty class placed at offset zero might itself have an - empty base at a non-zero offset. */ + empty base at a nonzero offset. */ else if (walk_subobject_offsets (basetype, empty_base_at_nonzero_offset_p, size_zero_node, diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index ae4ec12..209a15b 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -1801,7 +1801,7 @@ output_vtable_inherit (vars) } /* If necessary, write out the vtables for the dynamic class CTYPE. - Returns non-zero if any vtables were emitted. */ + Returns nonzero if any vtables were emitted. */ static int maybe_emit_vtables (tree ctype) |