aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-10-20 13:16:44 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-10-20 13:16:44 +0000
commit5acd0beddc20481a35191fd439ecdea6617b8c9b (patch)
treefd0b5a31baee27d7b919810270d098b493985dd4 /gcc/cp
parent34bc6352dcfec137ff217c125f2569b3f00bf345 (diff)
downloadgcc-5acd0beddc20481a35191fd439ecdea6617b8c9b.zip
gcc-5acd0beddc20481a35191fd439ecdea6617b8c9b.tar.gz
gcc-5acd0beddc20481a35191fd439ecdea6617b8c9b.tar.bz2
* call.c, typeck.c: Fix comment typos.
From-SVN: r89332
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/call.c2
-rw-r--r--gcc/cp/typeck.c2
3 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index ba79b8b..088dac2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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.
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index c535cba..46b270e 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -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. */
diff --git a/gcc/cp/typeck.c b/gcc/cp/typeck.c
index bff5c34..763e408 100644
--- a/gcc/cp/typeck.c
+++ b/gcc/cp/typeck.c
@@ -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);