OSDN Git Service

* ChangeLog: Fix a typo.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Dec 2002 16:11:41 +0000 (16:11 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Dec 2002 16:11:41 +0000 (16:11 +0000)
* class.c: Fix comment typos.
* cp-tree.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60368 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h

index b19003e..3cd2c30 100644 (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>
 
index 6035e05..bf75d9d 100644 (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.  
 
index 7022e73..12504e5 100644 (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