Commit 90024bdc by Kazu Hirata

ChangeLog: Follow spelling conventions.

	* ChangeLog: Follow spelling conventions.
	* class.c: Likewise.
	* decl2.c: Likewise.

From-SVN: r59117
parent 24985beb
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> 2002-11-14 Zack Weinberg <zack@codesourcery.com>
* search.c (dfs_push_decls): Do not try to reorder elements * search.c (dfs_push_decls): Do not try to reorder elements
...@@ -237,7 +243,7 @@ ...@@ -237,7 +243,7 @@
(layout_nonempty_base_or_field): Do not check for conflicts when (layout_nonempty_base_or_field): Do not check for conflicts when
laying out a virtual base using the GCC 3.2 ABI. laying out a virtual base using the GCC 3.2 ABI.
(build_base_field): Correct checking for presence of empty classes (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. * class.c (include_empty_classes): Use normalize_rli.
(layout_class_type): Likewise. (layout_class_type): Likewise.
......
...@@ -3673,7 +3673,7 @@ layout_nonempty_base_or_field (record_layout_info rli, ...@@ -3673,7 +3673,7 @@ layout_nonempty_base_or_field (record_layout_info rli,
/* Now that we know where it will be placed, update its /* Now that we know where it will be placed, update its
BINFO_OFFSET. */ BINFO_OFFSET. */
if (binfo && CLASS_TYPE_P (BINFO_TYPE (binfo))) 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 this point because their BINFO_OFFSET is copied from another
hierarchy. Therefore, we may not need to add the entire hierarchy. Therefore, we may not need to add the entire
OFFSET. */ OFFSET. */
...@@ -3684,7 +3684,7 @@ layout_nonempty_base_or_field (record_layout_info rli, ...@@ -3684,7 +3684,7 @@ layout_nonempty_base_or_field (record_layout_info rli,
t); t);
} }
/* Returns true if TYPE is empty and OFFSET is non-zero. */ /* Returns true if TYPE is empty and OFFSET is nonzero. */
static int static int
empty_base_at_nonzero_offset_p (tree type, empty_base_at_nonzero_offset_p (tree type,
...@@ -3817,7 +3817,7 @@ build_base_field (record_layout_info rli, tree binfo, ...@@ -3817,7 +3817,7 @@ build_base_field (record_layout_info rli, tree binfo,
CLASSTYPE_NEARLY_EMPTY_P (t) = 0; CLASSTYPE_NEARLY_EMPTY_P (t) = 0;
/* The check above (used in G++ 3.2) is insufficient because /* The check above (used in G++ 3.2) is insufficient because
an empty class placed at offset zero might itself have an 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, else if (walk_subobject_offsets (basetype,
empty_base_at_nonzero_offset_p, empty_base_at_nonzero_offset_p,
size_zero_node, size_zero_node,
......
...@@ -1801,7 +1801,7 @@ output_vtable_inherit (vars) ...@@ -1801,7 +1801,7 @@ output_vtable_inherit (vars)
} }
/* If necessary, write out the vtables for the dynamic class CTYPE. /* 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 static int
maybe_emit_vtables (tree ctype) maybe_emit_vtables (tree ctype)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment