From: Jonathan Wakely Date: Wed, 17 Feb 2016 17:36:22 +0000 (+0000) Subject: extend.texi (C++ Attributes): Correct description of warn_unused type attribute. X-Git-Tag: basepoints/gcc-7~892 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8f289e5970b33f9dccdc5116420cf1a88e5c060;p=thirdparty%2Fgcc.git extend.texi (C++ Attributes): Correct description of warn_unused type attribute. * doc/extend.texi (C++ Attributes): Correct description of warn_unused type attribute. From-SVN: r233502 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aa43b076c392..e690691f9593 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-02-17 Jonathan Wakely + + * doc/extend.texi (C++ Attributes): Correct description of + warn_unused type attribute. + 2016-02-17 Bill Schmidt * config/rs6000/altivec.md (*altivec_lvxl__internal): Output diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 78017fe41c2e..476d089add3b 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -20313,7 +20313,7 @@ types. This attribute is appropriate for types which just represent a value, such as @code{std::string}; it is not appropriate for types which -control a resource, such as @code{std::mutex}. +control a resource, such as @code{std::lock_guard}. This attribute is also accepted in C, but it is unnecessary because C does not have constructors or destructors.