ChangeLog: Fix a typo.

* ChangeLog: Fix a typo.
	* class.c: Fix comment typos.
	* cp-tree.h: Likewise.

From-SVN: r60368
This commit is contained in:
Kazu Hirata 2002-12-20 16:11:41 +00:00
parent 7ec5218607
commit 4639c5c62c
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2002-12-20 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Fix a typo.
* class.c: Fix comment typos.
* cp-tree.h: Likewise.
2002-12-18 Jason Merrill <jason@redhat.com>
Handle anonymous unions at the tree level.
@ -4809,7 +4815,7 @@ Tue Oct 23 14:00:20 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* parse.y (asm_operand): Allow named operands.
* semantics.c (finish_asm_stmt): Tweek for changed location
of the operand constrant.
of the operand constraint.
2001-10-09 Jason Merrill <jason_merrill@redhat.com>

View File

@ -97,7 +97,7 @@ typedef struct vtbl_init_data_s
/* The type of a function passed to walk_subobject_offsets. */
typedef int (*subobject_offset_fn) PARAMS ((tree, tree, splay_tree));
/* The stack itself. This is an dynamically resized array. The
/* The stack itself. This is a dynamically resized array. The
number of elements allocated is CURRENT_CLASS_STACK_SIZE. */
static int current_class_stack_size;
static class_stack_node_t current_class_stack;
@ -2343,7 +2343,7 @@ get_vcall_index (tree fn, tree type)
}
/* Update an entry in the vtable for BINFO, which is in the hierarchy
dominated by T. FN has been overriden in BINFO; VIRTUALS points to the
dominated by T. FN has been overridden in BINFO; VIRTUALS points to the
corresponding position in the BINFO_VIRTUALS list. */
static void
@ -4508,7 +4508,7 @@ create_vtable_ptr (t, virtuals_p)
type-based alias analysis code would decide that assignments
to the base class vtable pointer can't alias assignments to
the derived class vtable pointer, since they have different
types. Thus, in an derived class destructor, where the base
types. Thus, in a derived class destructor, where the base
class constructor was inlined, we could generate bad code for
setting up the vtable pointer.

View File

@ -127,7 +127,7 @@ struct diagnostic_context;
The BV_DELTA of each node gives the amount by which to adjust the
`this' pointer when calling the function. If the method is an
overriden version of a base class method, then it is assumed
overridden version of a base class method, then it is assumed
that, prior to adjustment, the this pointer points to an object
of the base class.
@ -149,7 +149,7 @@ struct diagnostic_context;
function, it is eventually set to an INTEGER_CST indicating the
index in the vtable at which this function can be found. When
a virtual function is declared, but before it is known what
function is overriden, this field is the error_mark_node.
function is overridden, this field is the error_mark_node.
Temporarily, it may be set to a TREE_LIST whose TREE_VALUE is
the virtual function this one overrides, and whose TREE_CHAIN is