Commit b9704fc5 by Kazu Hirata Committed by Kazu Hirata

* decl.c, tree.c: Fix comment typos.

From-SVN: r122081
parent ea2c620c
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
......
......@@ -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))))
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment