From: Jonathan Wakely Date: Fri, 23 Jun 2017 08:16:05 +0000 (+0100) Subject: PR c++/81187 fix -Wnoexcept-type entry in manual X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70fdc808941016567f8e55caea593324b15df230;p=gcc.git 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: r249584 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 087126dcd43..e3245dfcf84 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-06-23 Jonathan Wakely + + PR c++/81187 + * doc/invoke.texi (-Wnoexcept-type): Fix name of option, from + -Wnoexcept. + 2017-06-22 Matt Turner * config/i386/driver-i386.c (host_detect_local_cpu): Add Kaby diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 7e7a16a5cb6..7c81f0d5785 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