aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>2005-02-24 21:55:15 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2005-02-24 21:55:15 +0000
commit78dcd41a317d983e376790610471bdcb4967fc93 (patch)
treeeb97d91b98de2dfcb8bb5c867dfa39c69b60df87 /gcc/cp/class.c
parent3f1176568bb51d0d953470763a715ec12dcbfea6 (diff)
downloadgcc-78dcd41a317d983e376790610471bdcb4967fc93.zip
gcc-78dcd41a317d983e376790610471bdcb4967fc93.tar.gz
gcc-78dcd41a317d983e376790610471bdcb4967fc93.tar.bz2
call.c, [...]: Fix comment typo(s).
* call.c, class.c, cp-tree.h, decl2.c, error.c, init.c, mangle.c, parser.c: Fix comment typo(s). From-SVN: r95517
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 77e9b80..f6ba914 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -3505,7 +3505,7 @@ layout_empty_base (tree binfo, tree eoc, splay_tree offsets)
return atend;
}
-/* Layout the the base given by BINFO in the class indicated by RLI.
+/* Layout the base given by BINFO in the class indicated by RLI.
*BASE_ALIGN is a running maximum of the alignments of
any base class. OFFSETS gives the location of empty base
subobjects. T is the most derived type. Return nonzero if the new
@@ -4035,7 +4035,7 @@ check_bases_and_members (tree t)
/* Nonzero if the implicitly generated copy constructor should take
a non-const reference argument. */
int cant_have_const_ctor;
- /* Nonzero if the the implicitly generated assignment operator
+ /* Nonzero if the implicitly generated assignment operator
should take a non-const reference argument. */
int no_const_asn_ref;
tree access_decls;
@@ -7680,8 +7680,8 @@ build_rtti_vtbl_entries (tree binfo, vtbl_init_data* vid)
*vid->last_init = build_tree_list (NULL_TREE, init);
vid->last_init = &TREE_CHAIN (*vid->last_init);
- /* Add the offset-to-top entry. It comes earlier in the vtable that
- the the typeinfo entry. Convert the offset to look like a
+ /* Add the offset-to-top entry. It comes earlier in the vtable than
+ the typeinfo entry. Convert the offset to look like a
function pointer, so that we can put it in the vtable. */
init = build_nop (vfunc_ptr_type_node, offset);
*vid->last_init = build_tree_list (NULL_TREE, init);