From: Kazu Hirata Date: Thu, 11 Mar 2004 17:55:01 +0000 (+0000) Subject: * call.c, cp-tree.h, pt.c: Fix comment typos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=878cbb7399a6a2dc610f5d9fa8c812c8a2eb33c2;p=gcc.git * call.c, cp-tree.h, pt.c: Fix comment typos. From-SVN: r79335 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f746718a7a5..e543c5c6d18 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-03-11 Kazu Hirata + + * call.c, cp-tree.h, pt.c: Fix comment typos. + 2004-03-10 Mark Mitchell PR c++/14510 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 320159ba9e7..4eeb5e587d8 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -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); diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index dcb173eff97..6ccfcc89866 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -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). diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 015f72a833f..c619dc681c4 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -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;