Commit 502c067d by Paolo Carlini Committed by Paolo Carlini

re PR c++/55813 (Poorly named/documented option Wctor-dtor-privacy)

2013-02-28  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/55813
	* doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.

From-SVN: r196334
parent 1a80db97
2013-02-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/55813
* doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.
2013-02-28 Georg-Johann Lay <avr@gjlay.de> 2013-02-28 Georg-Johann Lay <avr@gjlay.de>
PR target/56445 PR target/56445
......
...@@ -2455,7 +2455,9 @@ union U @{ ...@@ -2455,7 +2455,9 @@ union U @{
@opindex Wno-ctor-dtor-privacy @opindex Wno-ctor-dtor-privacy
Warn when a class seems unusable because all the constructors or Warn when a class seems unusable because all the constructors or
destructors in that class are private, and it has neither friends nor destructors in that class are private, and it has neither friends nor
public static member functions. public static member functions. Also warn if there are no non-private
methods, and there's at least one private member function that isn't
a constructor or destructor.
@item -Wdelete-non-virtual-dtor @r{(C++ and Objective-C++ only)} @item -Wdelete-non-virtual-dtor @r{(C++ and Objective-C++ only)}
@opindex Wdelete-non-virtual-dtor @opindex Wdelete-non-virtual-dtor
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment