From 70fdc808941016567f8e55caea593324b15df230 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Fri, 23 Jun 2017 09:16:05 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- 2.30.2