diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2004-03-11 17:55:01 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2004-03-11 17:55:01 +0000 |
commit | 878cbb7399a6a2dc610f5d9fa8c812c8a2eb33c2 (patch) | |
tree | b384372b94af6838b24c166781e13bb96caf7e05 /gcc | |
parent | 239a625ee83ff08df15beab3ca2f1b37881e7f10 (diff) | |
download | gcc-878cbb7399a6a2dc610f5d9fa8c812c8a2eb33c2.zip gcc-878cbb7399a6a2dc610f5d9fa8c812c8a2eb33c2.tar.gz gcc-878cbb7399a6a2dc610f5d9fa8c812c8a2eb33c2.tar.bz2 |
* call.c, cp-tree.h, pt.c: Fix comment typos.
From-SVN: r79335
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/call.c | 2 | ||||
-rw-r--r-- | gcc/cp/cp-tree.h | 2 | ||||
-rw-r--r-- | gcc/cp/pt.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index f746718..e543c5c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 320159b..4eeb5e5 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 dcb173e..6ccfcc8 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 015f72a..c619dc6 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; |