* call.c, cp-tree.h, pt.c: Fix comment typos.

From-SVN: r79335
This commit is contained in:
Kazu Hirata 2004-03-11 17:55:01 +00:00 committed by Kazu Hirata
parent 239a625ee8
commit 878cbb7399
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
* call.c, cp-tree.h, pt.c: Fix comment typos.
2004-03-10 Mark Mitchell <mark@codesourcery.com>
PR c++/14510

View File

@ -6470,7 +6470,7 @@ initialize_reference (tree type, tree expr, tree decl, tree *cleanup)
itself the result of a function call), turn it into a
TARGET_EXPR here. It is important that EXPR be a
TARGET_EXPR below since otherwise the INIT_EXPR will
attempt to make a bitwise copy of EXPR to intialize
attempt to make a bitwise copy of EXPR to initialize
VAR. */
if (TREE_CODE (expr) != TARGET_EXPR)
expr = get_target_expr (expr);

View File

@ -100,7 +100,7 @@ struct diagnostic_context;
4: DECL_C_BIT_FIELD (in a FIELD_DECL)
DECL_VAR_MARKED_P (in a VAR_DECL)
DECL_SELF_REFERENCE_P (in a TYPE_DECL)
DECL_INVALID_OVERRIRDER_P (in a FUNCTION_DECL)
DECL_INVALID_OVERRIDER_P (in a FUNCTION_DECL)
5: DECL_INTERFACE_KNOWN.
6: DECL_THIS_STATIC (in VAR_DECL or FUNCTION_DECL).
7: DECL_DEAD_FOR_LOCAL (in VAR_DECL).

View File

@ -12131,7 +12131,7 @@ build_non_dependent_expr (tree expr)
There is at least one place where we want to know that a
particular expression is a throw-expression: when checking a ?:
expression, there are special rules if the second or third
argument is a throw-expresion. */
argument is a throw-expression. */
if (TREE_CODE (expr) == THROW_EXPR)
return expr;