aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-07-21 17:48:42 +0000
committerMike Stump <mrs@gcc.gnu.org>2013-07-21 17:48:42 +0000
commitc65cb8d1f07920e911d13e551476e28d204e8daa (patch)
tree22d726fe8015d7bcb410dddfed8af54da0888188 /gcc/cp/class.c
parent631b20a7fcb5982ae2092198cea18f25d2ed4a5e (diff)
downloadgcc-c65cb8d1f07920e911d13e551476e28d204e8daa.zip
gcc-c65cb8d1f07920e911d13e551476e28d204e8daa.tar.gz
gcc-c65cb8d1f07920e911d13e551476e28d204e8daa.tar.bz2
class.c: Fix typos.
2013-07-21 Ondřej Bílka <neleai@seznam.cz> * class.c: Fix typos. * cp-array-notation.c: Likewise. * cp-objcp-common.c: Likewise. * decl.c: Likewise. * init.c: Likewise. * mangle.c: Likewise. * parser.c: Likewise. * pt.c: Likewise. * semantics.c: Likewise. From-SVN: r201106
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 45652a6..f0c5152 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -5864,7 +5864,7 @@ layout_class_type (tree t, tree *virtuals_p)
/* Maps offsets (represented as INTEGER_CSTs) to a TREE_LIST of
types that appear at that offset. */
splay_tree empty_base_offsets;
- /* True if the last field layed out was a bit-field. */
+ /* True if the last field laid out was a bit-field. */
bool last_field_was_bitfield = false;
/* The location at which the next field should be inserted. */
tree *next_field;
@@ -6829,7 +6829,7 @@ fixed_type_or_null (tree instance, int *nonnull, int *cdtorp)
INSTANCE is really a pointer. Return negative if this is a
ctor/dtor. There the dynamic type is known, but this might not be
the most derived base of the original object, and hence virtual
- bases may not be layed out according to this type.
+ bases may not be laid out according to this type.
Used to determine whether the virtual function table is needed
or not.