PR c++/81187 fix -Wnoexcept-type entry in manual

PR c++/81187
	* doc/invoke.texi (-Wnoexcept-type): Fix name of option, from
	-Wnoexcept.

From-SVN: r249586
This commit is contained in:
Jonathan Wakely 2017-06-23 11:56:04 +01:00 committed by Jonathan Wakely
parent 662a3c2b4d
commit 13e96c875c
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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