aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>2011-04-10 18:46:45 +0000
committerMike Stump <mrs@gcc.gnu.org>2011-04-10 18:46:45 +0000
commitdd5a833e6e86e0ed85af6e48aa460ebfc4665f5d (patch)
treebf95262adeb1e48387900226345da1050170321b /gcc/cp
parent4b9726d48cc7eea7e51b51e00e3720104cd2774f (diff)
downloadgcc-dd5a833e6e86e0ed85af6e48aa460ebfc4665f5d.zip
gcc-dd5a833e6e86e0ed85af6e48aa460ebfc4665f5d.tar.gz
gcc-dd5a833e6e86e0ed85af6e48aa460ebfc4665f5d.tar.bz2
Remove doubled up words.
From-SVN: r172247
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/decl.c2
-rw-r--r--gcc/cp/name-lookup.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index bbccb67..55ae173 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -1089,7 +1089,7 @@ warn_extern_redeclared_static (tree newdecl, tree olddecl)
return;
/* If the old declaration was `static', or the new one isn't, then
- then everything is OK. */
+ everything is OK. */
if (DECL_THIS_STATIC (olddecl) || !DECL_THIS_STATIC (newdecl))
return;
diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c
index 2136df6..b95dd7f 100644
--- a/gcc/cp/name-lookup.c
+++ b/gcc/cp/name-lookup.c
@@ -4146,10 +4146,10 @@ qualified_lookup_using_namespace (tree name, tree scope,
/* Look through namespace aliases. */
scope = ORIGINAL_NAMESPACE (scope);
- /* Algorithm: Starting with SCOPE, walk through the the set of used
+ /* Algorithm: Starting with SCOPE, walk through the set of used
namespaces. For each used namespace, look through its inline
- namespace set for any bindings and usings. If no bindings are found,
- add any usings seen to the set of used namespaces. */
+ namespace set for any bindings and usings. If no bindings are
+ found, add any usings seen to the set of used namespaces. */
VEC_safe_push (tree, gc, todo, scope);
while (VEC_length (tree, todo))