aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2006-04-22 16:12:34 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2006-04-22 16:12:34 +0000
commit9f9a713e7a5e6f6fdf6062d97f3b578484bba6af (patch)
treeb3a2d87444e565741a0648290315487a09d61e17 /gcc
parent4f19e578a20107a82e97712999de410b59b60e49 (diff)
downloadgcc-9f9a713e7a5e6f6fdf6062d97f3b578484bba6af.zip
gcc-9f9a713e7a5e6f6fdf6062d97f3b578484bba6af.tar.gz
gcc-9f9a713e7a5e6f6fdf6062d97f3b578484bba6af.tar.bz2
* decl.c: Fix comment typos.
From-SVN: r113175
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/decl.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c480ef6..711fb7c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2006-04-22 Kazu Hirata <kazu@codesourcery.com>
+
+ * decl.c: Fix comment typos.
+
2006-04-21 Eric Christopher <echristo@apple.com>
* decl.c: Fix typo in function name.
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index e98a6f1..d979fd3 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -7712,15 +7712,15 @@ grokdeclarator (const cp_declarator *declarator,
else if (/* If the qualifying type is already complete, then we
can skip the following checks. */
!COMPLETE_TYPE_P (ctype)
- /* If a function is being defined, then the qualifing
- type must be complete. The qualifing type may be
- incomplete for a declaration only if the qualitying
+ /* If a function is being defined, then the qualifying
+ type must be complete. The qualifying type may be
+ incomplete for a declaration only if the qualifying
type is one of the classes presently being defined,
or if it is a dependent type. */
&& (funcdef_flag
|| !(dependent_type_p (ctype)
|| currently_open_class (ctype)))
- /* Check that the qualifing type is complete. */
+ /* Check that the qualifying type is complete. */
&& !complete_type_or_else (ctype, NULL_TREE))
return error_mark_node;
else if (TREE_CODE (type) == FUNCTION_TYPE)