* [PATCH] PR c++/81187 fix -Wnoexcept-type entry in manual
@ 2017-06-23 8:17 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2017-06-23 8:17 UTC (permalink / raw)
To: gcc-patches
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-23 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-23 8:17 [PATCH] PR c++/81187 fix -Wnoexcept-type entry in manual Jonathan Wakely
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).