Commit 5acd0bed by Kazu Hirata Committed by Kazu Hirata

* call.c, typeck.c: Fix comment typos.

From-SVN: r89332
parent 34bc6352
2004-10-20 Kazu Hirata <kazu@cs.umass.edu>
* call.c, typeck.c: Fix comment typos.
2004-10-20 Nathan Sidwell <nathan@codesourcery.com> 2004-10-20 Nathan Sidwell <nathan@codesourcery.com>
* parser.c (cp_token_position): New typedef. Define VEC thereof. * parser.c (cp_token_position): New typedef. Define VEC thereof.
......
...@@ -6303,7 +6303,7 @@ perform_implicit_conversion (tree type, tree expr) ...@@ -6303,7 +6303,7 @@ perform_implicit_conversion (tree type, tree expr)
permitted. If the conversion is valid, the converted expression is permitted. If the conversion is valid, the converted expression is
returned. Otherwise, NULL_TREE is returned, except in the case returned. Otherwise, NULL_TREE is returned, except in the case
that TYPE is a class type; in that case, an error is issued. If 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 place as part of a static_cast being attempted as part of a C-style
cast. */ cast. */
......
...@@ -4862,7 +4862,7 @@ build_reinterpret_cast_1 (tree type, tree expr, bool c_cast_p, ...@@ -4862,7 +4862,7 @@ build_reinterpret_cast_1 (tree type, tree expr, bool c_cast_p,
|| VOID_TYPE_P (TREE_TYPE (type)))) || VOID_TYPE_P (TREE_TYPE (type))))
return convert_member_func_to_ptr (type, expr); 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 array-to-pointer, and function-to-pointer conversions are
performed. */ performed. */
expr = decay_conversion (expr); expr = decay_conversion (expr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment