diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2007-02-18 00:59:36 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2007-02-18 00:59:36 +0000 |
commit | b9704fc5f68f1da3f0bd49675a9bdf89d00b4ad3 (patch) | |
tree | 32d703b686a19950e6fe907aefebcc7064c84059 | |
parent | ea2c620c644121eb9596d47c182453475f5dc559 (diff) | |
download | gcc-b9704fc5f68f1da3f0bd49675a9bdf89d00b4ad3.zip gcc-b9704fc5f68f1da3f0bd49675a9bdf89d00b4ad3.tar.gz gcc-b9704fc5f68f1da3f0bd49675a9bdf89d00b4ad3.tar.bz2 |
* decl.c, tree.c: Fix comment typos.
From-SVN: r122081
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/decl.c | 4 | ||||
-rw-r--r-- | gcc/cp/tree.c | 2 |
3 files changed, 7 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6e7f84f..a1f948d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2007-02-18 Kazu Hirata <kazu@codesourcery.com> + + * decl.c, tree.c: Fix comment typos. + 2007-02-15 Andrew Pinski <andrew_pinski@playstation.sony.com> PR C++/30158 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 2212254..9ad9e3a 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -1065,7 +1065,7 @@ warn_extern_redeclared_static (tree newdecl, tree olddecl) /* NEW_DECL is a redeclaration of OLD_DECL; both are functions or function templates. If their exception specifications do not - match, issue an a diagnostic. */ + match, issue a diagnostic. */ static void check_redeclaration_exception_specification (tree new_decl, @@ -4729,7 +4729,7 @@ check_initializer (tree decl, tree init, int flags, tree *cleanup) error ("elements of array %q#D have incomplete type", decl); return NULL_TREE; } - /* It is not valid to initialize an a VLA. */ + /* It is not valid to initialize a VLA. */ if (init && ((COMPLETE_TYPE_P (type) && !TREE_CONSTANT (TYPE_SIZE (type))) || !TREE_CONSTANT (TYPE_SIZE (element_type)))) diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 7c5a4dc..a5fac29 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -1033,7 +1033,7 @@ build_qualified_name (tree type, tree scope, tree name, bool template_p) function. If "f" is a function or function template, "f", "c->f", "c.f", "C::f", and "f<int>" will all be considered possibly overloaded functions. Returns 2 if the function is actually - overloaded, i.e., if it is impossible to know the the type of the + overloaded, i.e., if it is impossible to know the type of the function without performing overload resolution. */ int |