From: kazu Date: Fri, 15 Nov 2002 05:46:34 +0000 (+0000) Subject: * ChangeLog: Follow spelling conventions. X-Git-Tag: upstream/4.9.2~83424 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5a82780fe5fdfdaf5bcaaeb86edc0804bd8906a;p=platform%2Fupstream%2Flinaro-gcc.git * ChangeLog: Follow spelling conventions. * class.c: Likewise. * decl2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59117 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 + + * ChangeLog: Follow spelling conventions. + * class.c: Likewise. + * decl2.c: Likewise. + 2002-11-14 Zack Weinberg * 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)