]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
extend.texi (C++ Attributes): Correct description of warn_unused type attribute.
authorJonathan Wakely <jwakely@redhat.com>
Wed, 17 Feb 2016 17:36:22 +0000 (17:36 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 17 Feb 2016 17:36:22 +0000 (17:36 +0000)
* doc/extend.texi (C++ Attributes): Correct description of
warn_unused type attribute.

From-SVN: r233502

gcc/ChangeLog
gcc/doc/extend.texi

index aa43b076c3925d9de9707528a1fb5fc8b74f6c47..e690691f959362c3bf72c9162a0a88e56825ebc2 100644 (file)
@@ -1,3 +1,8 @@
+2016-02-17  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/extend.texi (C++ Attributes): Correct description of
+       warn_unused type attribute.
+
 2016-02-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
 
        * config/rs6000/altivec.md (*altivec_lvxl_<mode>_internal): Output
index 78017fe41c2e415d0133bc3e09fd6670ffbeeaf3..476d089add3b8d2fb2f9322d103750d3155cfb86 100644 (file)
@@ -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.