From e8f289e5970b33f9dccdc5116420cf1a88e5c060 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Wed, 17 Feb 2016 17:36:22 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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.