* [PATCH] Use -Wnornalized=[options] instead of -Wnormalized=<options>
@ 2017-02-21 10:45 Martin Liška
2017-02-22 18:25 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2017-02-21 10:45 UTC (permalink / raw)
To: GCC Patches
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
Hello.
To make documentation and output of --help consistent, I suggest to replace inequality
signs with square brackets.
Ready to be installed?
Martin
[-- Attachment #2: 0001-Use-Wnornalized-options-instead-of-Wnormalized-optio.patch --]
[-- Type: text/x-patch, Size: 1797 bytes --]
From 2b1ae19cf76271790b585e3fd90ba76b37166ed0 Mon Sep 17 00:00:00 2001
From: marxin <mliska@suse.cz>
Date: Tue, 21 Feb 2017 11:39:24 +0100
Subject: [PATCH] Use -Wnornalized=[options] instead of -Wnormalized=<options>
gcc/ChangeLog:
2017-02-21 Martin Liska <mliska@suse.cz>
* doc/invoke.texi: Replace inequality signs with square brackets
for -Wnornalized.
gcc/c-family/ChangeLog:
2017-02-21 Martin Liska <mliska@suse.cz>
* c.opt: Replace inequality signs with square brackets
for -Wnornalized.
---
gcc/c-family/c.opt | 2 +-
gcc/doc/invoke.texi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index a1b3ae5c0b0..a863471da7f 100644
--- a/gcc/c-family/c.opt
+++ b/gcc/c-family/c.opt
@@ -806,7 +806,7 @@ C ObjC C++ ObjC++ Warning Alias(Wnormalized=,nfc,none)
Wnormalized=
C ObjC C++ ObjC++ RejectNegative Joined Warning CPP(warn_normalize) CppReason(CPP_W_NORMALIZE) Init(normalized_C) Var(cpp_warn_normalize) Enum(cpp_normalize_level)
--Wnormalized=<none|id|nfc|nfkc> Warn about non-normalized Unicode strings.
+-Wnormalized=[none|id|nfc|nfkc] Warn about non-normalized Unicode strings.
; Required for these enum values.
SourceInclude
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 26bc146fa65..ea42dac528f 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6218,7 +6218,7 @@ Do not warn if a multicharacter constant (@samp{'FOOF'}) is used.
Usually they indicate a typo in the user's code, as they have
implementation-defined values, and should not be used in portable code.
-@item -Wnormalized@r{[}=@r{<}none@r{|}id@r{|}nfc@r{|}nfkc@r{>]}
+@item -Wnormalized=@r{[}none@r{|}id@r{|}nfc@r{|}nfkc@r{]}
@opindex Wnormalized=
@opindex Wnormalized
@opindex Wno-normalized
--
2.11.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Use -Wnornalized=[options] instead of -Wnormalized=<options>
2017-02-21 10:45 [PATCH] Use -Wnornalized=[options] instead of -Wnormalized=<options> Martin Liška
@ 2017-02-22 18:25 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2017-02-22 18:25 UTC (permalink / raw)
To: Martin Liška, GCC Patches
On 02/21/2017 03:44 AM, Martin Liška wrote:
> Hello.
>
> To make documentation and output of --help consistent, I suggest to replace inequality
> signs with square brackets.
>
> Ready to be installed?
OK.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-22 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 10:45 [PATCH] Use -Wnornalized=[options] instead of -Wnormalized=<options> Martin Liška
2017-02-22 18:25 ` Jeff Law
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).