From: Jonathan Wakely <jwakely@redhat.com>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] PR c++/81187 fix -Wnoexcept-type entry in manual
Date: Fri, 23 Jun 2017 08:17:00 -0000 [thread overview]
Message-ID: <20170623081708.GA3470@redhat.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 156 bytes --]
PR c++/81187
* doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
-Wnoexcept.
Committed to trunk as obvious. Will also commit to gcc-7-branch.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 858 bytes --]
commit 3c1266fdb7cf6241d9a08109160bf86753d733bd
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Jun 23 09:13:06 2017 +0100
PR c++/81187 fix -Wnoexcept-type entry in manual
PR c++/81187
* doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
-Wnoexcept.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7e7a16a5..7c81f0d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2908,7 +2908,7 @@ to a function that does not have a non-throwing exception
specification (i.e. @code{throw()} or @code{noexcept}) but is known by
the compiler to never throw an exception.
-@item -Wnoexcept @r{(C++ and Objective-C++ only)}
+@item -Wnoexcept-type @r{(C++ and Objective-C++ only)}
@opindex Wnoexcept-type
@opindex Wno-noexcept-type
Warn if the C++1z feature making @code{noexcept} part of a function
reply other threads:[~2017-06-23 8:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170623081708.GA3470@redhat.com \
--to=jwakely@redhat.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).