Kazu Hirata - [patch] cp/*.c: Fix comment typos. (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: Kazu Hirata
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 17 Feb 2007 17:00:01 -0800
- Subject: [patch] cp/*.c: Fix comment typos.
Hi,
Committed as obvious.
Kazu Hirata
2007-02-18 Kazu Hirata kazu@codesourcery.com
* decl.c, tree.c: Fix comment typos.
Index: cp/decl.c
--- cp/decl.c (revision 122079) +++ cp/decl.c (working copy) @@ -1065,7 +1065,7 @@ warn_extern_redeclared_static (tree newd /* 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, 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)))) Index: cp/tree.c
--- cp/tree.c (revision 122079) +++ cp/tree.c (working copy) @@ -1033,7 +1033,7 @@ build_qualified_name (tree type, tree sc function. If "f" is a function or function template, "f", "c->f", "c.f", "C::f", and "f" 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |