OSDN Git Service

* call.c, semantics.c: Follow spelling conventions.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 2004 17:23:59 +0000 (17:23 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Sep 2004 17:23:59 +0000 (17:23 +0000)
* class.c: Fix a comment typo.

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

gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/semantics.c

index 2cf1f74..7cb83b5 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-18  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * call.c, semantics.c: Follow spelling conventions.
+       * class.c: Fix a comment typo.
+
 2004-09-16  Geoffrey Keating  <geoffk@apple.com>
 
        PR pch/13361
index 4f2a80c..1185608 100644 (file)
@@ -5318,7 +5318,7 @@ build_new_method_call (tree instance, tree fns, tree args,
              && (DECL_CONSTRUCTOR_P (current_function_decl)
                  || DECL_DESTRUCTOR_P (current_function_decl)))
            /* This is not an error, it is runtime undefined
-              behaviour.  */
+              behavior.  */
            warning ((DECL_CONSTRUCTOR_P (current_function_decl) ? 
                      "abstract virtual `%#D' called from constructor"
                      : "abstract virtual `%#D' called from destructor"),
index 5a06520..4c8dee3 100644 (file)
@@ -500,7 +500,7 @@ build_vfield_ref (tree datum, tree type)
   /* Second, the requested type may not be the owner of its own vptr.
      If not, convert to the base class that owns it.  We cannot use
      convert_to_base here, because VCONTEXT may appear more than once
-     in the inheritence hierarchy of TYPE, and thus direct conversion
+     in the inheritance hierarchy of TYPE, and thus direct conversion
      between the types may be ambiguous.  Following the path back up
      one step at a time via primary bases avoids the problem.  */
   vfield = TYPE_VFIELD (type);
index 2f1d0e8..e66736f 100644 (file)
@@ -1037,7 +1037,7 @@ finish_handler (tree handler)
 }
 
 /* Begin a compound statement.  FLAGS contains some bits that control the
-   behaviour and context.  If BCS_NO_SCOPE is set, the compound statement
+   behavior and context.  If BCS_NO_SCOPE is set, the compound statement
    does not define a scope.  If BCS_FN_BODY is set, this is the outermost
    block of a function.  If BCS_TRY_BLOCK is set, this is the block 
    created on behalf of a TRY statement.  Returns a token to be passed to