aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-02-17 17:36:22 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2016-02-17 17:36:22 +0000
commite8f289e5970b33f9dccdc5116420cf1a88e5c060 (patch)
tree8bf73eed6a4735bd7154974f060e2e4d7cf04dd0 /gcc
parentefea09f21b6a53247987de2428b963fd1ccd6789 (diff)
downloadgcc-e8f289e5970b33f9dccdc5116420cf1a88e5c060.zip
gcc-e8f289e5970b33f9dccdc5116420cf1a88e5c060.tar.gz
gcc-e8f289e5970b33f9dccdc5116420cf1a88e5c060.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index aa43b07..e690691 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 78017fe..476d089 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.