* call.c, typeck.c: Fix comment typos.
authorKazu Hirata <kazu@cs.umass.edu>
Wed, 20 Oct 2004 13:16:44 +0000 (13:16 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 20 Oct 2004 13:16:44 +0000 (13:16 +0000)
From-SVN: r89332

gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/typeck.c

index ba79b8b7e6268749610d77c8e9dd0704fcfed12d..088dac2303242ea22003c8eac26e981994be6928 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-20  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * call.c, typeck.c: Fix comment typos.
+
 2004-10-20  Nathan Sidwell  <nathan@codesourcery.com>
 
        * parser.c (cp_token_position): New typedef. Define VEC thereof.
index c535cbacca5a210a58ccef750643cf25989f4b4e..46b270e3ff3edfaddefb54176492bd1f2c1966d4 100644 (file)
@@ -6303,7 +6303,7 @@ perform_implicit_conversion (tree type, tree expr)
    permitted.  If the conversion is valid, the converted expression is
    returned.  Otherwise, NULL_TREE is returned, except in the case
    that TYPE is a class type; in that case, an error is issued.  If
-   C_CAST_P is ttrue, then this direction initialization is taking
+   C_CAST_P is true, then this direction initialization is taking
    place as part of a static_cast being attempted as part of a C-style
    cast.  */
 
index bff5c348e8d418116822adc7e9b9ceba2a44756a..763e4084b7ee374f05e198731d16066473365704 100644 (file)
@@ -4862,7 +4862,7 @@ build_reinterpret_cast_1 (tree type, tree expr, bool c_cast_p,
          || VOID_TYPE_P (TREE_TYPE (type))))
     return convert_member_func_to_ptr (type, expr);
 
-  /* If the cast is not to a reference type, the lvalue-to-rvale,
+  /* If the cast is not to a reference type, the lvalue-to-rvalue,
      array-to-pointer, and function-to-pointer conversions are
      performed.  */
   expr = decay_conversion (expr);