From 5acd0beddc20481a35191fd439ecdea6617b8c9b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 20 Oct 2004 13:16:44 +0000 Subject: [PATCH] * call.c, typeck.c: Fix comment typos. From-SVN: r89332 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/call.c | 2 +- gcc/cp/typeck.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ba79b8b7e62..088dac23032 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-10-20 Kazu Hirata + + * call.c, typeck.c: Fix comment typos. + 2004-10-20 Nathan Sidwell * parser.c (cp_token_position): New typedef. Define VEC thereof. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index c535cbacca5..46b270e3ff3 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 bff5c348e8d..763e4084b7e 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); -- 2.30.2