summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-23 10:56:04 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-23 10:56:04 +0000
commit8289da53794db234f58cbb09db756fb243f963d7 (patch)
treef39154fb9fe2c9175049007a816ee612a61ff0c3
parent29f01672eb191887a4212ce8fbb95c9013847769 (diff)
downloadgcc-8289da53794db234f58cbb09db756fb243f963d7.tar.gz
PR c++/81187 fix -Wnoexcept-type entry in manual
PR c++/81187 * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from -Wnoexcept. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@249586 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 186a285a4bc..7018ea6ae8d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-06-23 Jonathan Wakely <jwakely@redhat.com>
+
+ PR c++/81187
+ * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
+ -Wnoexcept.
+
2017-06-22 Martin Liska <mliska@suse.cz>
Backport from mainline
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 297fa32aa2b..85f3e1ce38a 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -2898,7 +2898,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