* [committed] Spelling fix - cannott -> cannot [PR104899]
@ 2022-03-14 9:42 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2022-03-14 9:42 UTC (permalink / raw)
To: gcc-patches
Hi!
This fixes typos and while changing that, also uses %< %> around attribute
names and fixes up formatting.
2022-03-14 Jakub Jelinek <jakub@redhat.com>
PR other/104899
* config/bfin/bfin.cc (bfin_handle_longcall_attribute): Fix a typo
in diagnostic message - cannott -> cannot. Use %< and %> around
names of attribute. Avoid too long line.
* range-op.cc (operator_logical_and::op1_range): Fix up a typo
in comment - cannott -> cannot. Use 2 spaces after . instead of one.
--- gcc/config/bfin/bfin.cc.jj 2022-02-04 14:36:54.301615132 +0100
+++ gcc/config/bfin/bfin.cc 2022-03-14 10:37:13.452701382 +0100
@@ -4763,7 +4763,8 @@ bfin_handle_longcall_attribute (tree *no
&& lookup_attribute ("longcall", TYPE_ATTRIBUTES (*node))))
{
warning (OPT_Wattributes,
- "cannott apply both longcall and shortcall attributes to the same function");
+ "cannot apply both %<longcall%> and %<shortcall%> attributes "
+ "to the same function");
*no_add_attrs = true;
}
--- gcc/range-op.cc.jj 2022-02-09 15:15:59.479837374 +0100
+++ gcc/range-op.cc 2022-03-14 10:38:07.038953734 +0100
@@ -2532,7 +2532,7 @@ operator_logical_and::op1_range (irange
break;
default:
// Any other result means only one side has to be false, the
- // other side can be anything. So we cannott be sure of any
+ // other side can be anything. So we cannot be sure of any
// result here.
r = range_true_and_false (type);
break;
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-14 9:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 9:42 [committed] Spelling fix - cannott -> cannot [PR104899] Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).