* doc/extend.texi (C++ Attributes): Correct description of
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Feb 2016 17:36:22 +0000 (17:36 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Feb 2016 17:36:22 +0000 (17:36 +0000)
warn_unused type attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233502 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/extend.texi

index aa43b07..e690691 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 78017fe..476d089 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.