Commit 4639c5c6 by Kazu Hirata

ChangeLog: Fix a typo.

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

From-SVN: r60368
parent 7ec52186
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> 2002-12-18 Jason Merrill <jason@redhat.com>
Handle anonymous unions at the tree level. 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> ...@@ -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. * parse.y (asm_operand): Allow named operands.
* semantics.c (finish_asm_stmt): Tweek for changed location * 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> 2001-10-09 Jason Merrill <jason_merrill@redhat.com>
......
...@@ -97,7 +97,7 @@ typedef struct vtbl_init_data_s ...@@ -97,7 +97,7 @@ typedef struct vtbl_init_data_s
/* The type of a function passed to walk_subobject_offsets. */ /* The type of a function passed to walk_subobject_offsets. */
typedef int (*subobject_offset_fn) PARAMS ((tree, tree, splay_tree)); 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. */ number of elements allocated is CURRENT_CLASS_STACK_SIZE. */
static int current_class_stack_size; static int current_class_stack_size;
static class_stack_node_t current_class_stack; static class_stack_node_t current_class_stack;
...@@ -2343,7 +2343,7 @@ get_vcall_index (tree fn, tree type) ...@@ -2343,7 +2343,7 @@ get_vcall_index (tree fn, tree type)
} }
/* Update an entry in the vtable for BINFO, which is in the hierarchy /* 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. */ corresponding position in the BINFO_VIRTUALS list. */
static void static void
...@@ -4508,7 +4508,7 @@ create_vtable_ptr (t, virtuals_p) ...@@ -4508,7 +4508,7 @@ create_vtable_ptr (t, virtuals_p)
type-based alias analysis code would decide that assignments type-based alias analysis code would decide that assignments
to the base class vtable pointer can't alias assignments to to the base class vtable pointer can't alias assignments to
the derived class vtable pointer, since they have different 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 class constructor was inlined, we could generate bad code for
setting up the vtable pointer. setting up the vtable pointer.
......
...@@ -127,7 +127,7 @@ struct diagnostic_context; ...@@ -127,7 +127,7 @@ struct diagnostic_context;
The BV_DELTA of each node gives the amount by which to adjust the 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 `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 that, prior to adjustment, the this pointer points to an object
of the base class. of the base class.
...@@ -149,7 +149,7 @@ struct diagnostic_context; ...@@ -149,7 +149,7 @@ struct diagnostic_context;
function, it is eventually set to an INTEGER_CST indicating the function, it is eventually set to an INTEGER_CST indicating the
index in the vtable at which this function can be found. When index in the vtable at which this function can be found. When
a virtual function is declared, but before it is known what 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 Temporarily, it may be set to a TREE_LIST whose TREE_VALUE is
the virtual function this one overrides, and whose TREE_CHAIN is the virtual function this one overrides, and whose TREE_CHAIN is
......
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