aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-03-07 15:00:20 +0100
committerJakub Jelinek <jakub@redhat.com>2022-03-07 15:00:20 +0100
commit027e30414492d50feb2854aff38227b14300dc4b (patch)
treee71c4d30600403c7933a9ead48d9e3f3a4b71915 /gcc/cp
parentb1d8198e7df616ea80cb648a2c831e2c21f4319f (diff)
downloadgcc-027e30414492d50feb2854aff38227b14300dc4b.zip
gcc-027e30414492d50feb2854aff38227b14300dc4b.tar.gz
gcc-027e30414492d50feb2854aff38227b14300dc4b.tar.bz2
Fix up duplicated duplicated words in comments
Like in r10-7215-g700d4cb08c88aec37c13e21e63dd61fd698baabc 2 years ago, I've run grep -v 'long long\|optab optab\|template template\|double double' *.{[chS],cc} */*.{[chS],cc} *.def config/*/* 2>/dev/null | grep ' \([a-zA-Z]\+\) \1 ' and for the cases that looked clearly wrong changed them, mostly by removing one of the duplicated words but in some cases with other changes. 2022-03-07 Jakub Jelinek <jakub@redhat.com> gcc/ * tree-ssa-propagate.cc: Fix up duplicated word issue in a comment. * config/riscv/riscv.cc: Likewise. * config/darwin.h: Likewise. * config/i386/i386.cc: Likewise. * config/aarch64/thunderx3t110.md: Likewise. * config/aarch64/fractional-cost.h: Likewise. * config/vax/vax.cc: Likewise. * config/rs6000/pcrel-opt.md: Likewise. * config/rs6000/predicates.md: Likewise. * ctfc.h: Likewise. * tree-ssa-uninit.cc: Likewise. * value-relation.h: Likewise. * gimple-range-gori.cc: Likewise. * ipa-polymorphic-call.cc: Likewise. * pointer-query.cc: Likewise. * ipa-sra.cc: Likewise. * internal-fn.cc: Likewise. * varasm.cc: Likewise. * gimple-ssa-warn-access.cc: Likewise. gcc/analyzer/ * store.cc: Fix up duplicated word issue in a comment. * analyzer.cc: Likewise. * engine.cc: Likewise. * sm-taint.cc: Likewise. gcc/c-family/ * c-attribs.cc: Fix up duplicated word issue in a comment. gcc/cp/ * cvt.cc: Fix up duplicated word issue in a comment. * pt.cc: Likewise. * module.cc: Likewise. * coroutines.cc: Likewise. gcc/fortran/ * trans-expr.cc: Fix up duplicated word issue in a comment. * gfortran.h: Likewise. * scanner.cc: Likewise. gcc/jit/ * libgccjit.h: Fix up duplicated word issue in a comment.
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/coroutines.cc2
-rw-r--r--gcc/cp/cvt.cc2
-rw-r--r--gcc/cp/module.cc2
-rw-r--r--gcc/cp/pt.cc2
4 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc
index 1792bf6..23dc282 100644
--- a/gcc/cp/coroutines.cc
+++ b/gcc/cp/coroutines.cc
@@ -1824,7 +1824,7 @@ expand_one_await_expression (tree *stmt, tree *await_expr, void *d)
cp_walk_tree (await_init, co_await_find_in_subtree, &aw_expr_ptr, NULL))
expand_one_await_expression (await_init, aw_expr_ptr, d);
- /* Expand any more await expressions in the the original statement. */
+ /* Expand any more await expressions in the original statement. */
if (cp_walk_tree (revised, co_await_find_in_subtree, &aw_expr_ptr, NULL))
expand_one_await_expression (revised, aw_expr_ptr, d);
diff --git a/gcc/cp/cvt.cc b/gcc/cp/cvt.cc
index 53aa413..30a9806 100644
--- a/gcc/cp/cvt.cc
+++ b/gcc/cp/cvt.cc
@@ -2092,7 +2092,7 @@ can_convert_tx_safety (tree to, tree from)
}
/* Return true iff FROM can convert to TO by dropping noexcept.
- This is just a subroutine of of fnptr_conv_p. */
+ This is just a subroutine of fnptr_conv_p. */
static bool
noexcept_conv_p (tree to, tree from)
diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc
index ddaf9c2..cebf9c3 100644
--- a/gcc/cp/module.cc
+++ b/gcc/cp/module.cc
@@ -4617,7 +4617,7 @@ create_dirs (char *path)
}
}
-/* Given a CLASSTYPE_DECL_LIST VALUE get the the template friend decl,
+/* Given a CLASSTYPE_DECL_LIST VALUE get the template friend decl,
if that's what this is. */
static tree
diff --git a/gcc/cp/pt.cc b/gcc/cp/pt.cc
index 8fb1734..8b5faee 100644
--- a/gcc/cp/pt.cc
+++ b/gcc/cp/pt.cc
@@ -30049,7 +30049,7 @@ do_class_deduction (tree ptype, tree tmpl, tree init,
OUTER_TARGS is used during template argument deduction (context == adc_unify)
to properly substitute the result. It's also used in the adc_unify and
- adc_requirement contexts to communicate the the necessary template arguments
+ adc_requirement contexts to communicate the necessary template arguments
to satisfaction. OUTER_TARGS is ignored in other contexts.
For partial-concept-ids, extra args may be appended to the list of deduced