From: Kazu Hirata Date: Sun, 18 Feb 2007 00:59:36 +0000 (+0000) Subject: * decl.c, tree.c: Fix comment typos. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9704fc5f68f1da3f0bd49675a9bdf89d00b4ad3;p=gcc.git * decl.c, tree.c: Fix comment typos. From-SVN: r122081 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6e7f84fe72b..a1f948d8fe9 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2007-02-18 Kazu Hirata + + * decl.c, tree.c: Fix comment typos. + 2007-02-15 Andrew Pinski PR C++/30158 diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 2212254a1b0..9ad9e3a0ee2 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 7c5a4dc5bdd..a5fac298007 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" 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