diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-03-14 08:15:08 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-03-14 08:15:08 +0100 |
commit | 53b28abf8e4ba37e47d3bb05476e0a80ae761567 (patch) | |
tree | 852c7ce396caa57ba7a3880fa4b07d539d6f11cb /gcc/tree-ssa-strlen.c | |
parent | 0034955eb16f7a3a79e242750c27fcad62d90147 (diff) | |
download | gcc-53b28abf8e4ba37e47d3bb05476e0a80ae761567.zip gcc-53b28abf8e4ba37e47d3bb05476e0a80ae761567.tar.gz gcc-53b28abf8e4ba37e47d3bb05476e0a80ae761567.tar.bz2 |
Fix doubled indefinite articles, mostly in comments.
2020-03-14 Jakub Jelinek <jakub@redhat.com>
* gimple-fold.c (gimple_fold_builtin_strncpy): Change
"a an" to "an" in a comment.
* hsa-common.h (is_a_helper): Likewise.
* tree-ssa-strlen.c (maybe_diag_stxncpy_trunc): Likewise.
* config/arc/arc.c (arc600_corereg_hazard): Likewise.
* config/s390/s390.c (s390_indirect_branch_via_thunk): Likewise.
* logic.cc (formula::formula): Change "a an" to "an" in a comment.
* parser.c (cp_debug_parser): Change "a an" to "an" in a string
literal.
Diffstat (limited to 'gcc/tree-ssa-strlen.c')
-rw-r--r-- | gcc/tree-ssa-strlen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-strlen.c b/gcc/tree-ssa-strlen.c index 8815cdb..0d70f3c 100644 --- a/gcc/tree-ssa-strlen.c +++ b/gcc/tree-ssa-strlen.c @@ -3081,7 +3081,7 @@ maybe_diag_stxncpy_trunc (gimple_stmt_iterator gsi, tree src, tree cnt) return false; } - /* Likewise, if the destination refers to a an array/pointer declared + /* Likewise, if the destination refers to an array/pointer declared nonstring return early. */ if (get_attr_nonstring_decl (dstdecl, &ref)) return false; |