From ad2b8b37ecc4924ed9fed5f769db94689f1cf57d Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 16 May 2017 10:46:21 +0100 Subject: [PATCH] Add cross-reference for BADNAMES in libstdc++ manual * doc/xml/manual/appendix_contributing.xml: Link to the list of bad identifiers. * doc/html/*: Regenerate. From-SVN: r248091 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/doc/html/manual/source_code_style.html | 2 +- libstdc++-v3/doc/xml/manual/appendix_contributing.xml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4c6ca4b36be..7b5ffced911 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2017-05-16 Jonathan Wakely + + * doc/xml/manual/appendix_contributing.xml: Link to the list of bad + identifiers. + * doc/html/*: Regenerate. + 2017-05-15 Jonathan Wakely PR libstdc++/80761 diff --git a/libstdc++-v3/doc/html/manual/source_code_style.html b/libstdc++-v3/doc/html/manual/source_code_style.html index 790276f3f5c..e17530c1763 100644 --- a/libstdc++-v3/doc/html/manual/source_code_style.html +++ b/libstdc++-v3/doc/html/manual/source_code_style.html @@ -478,7 +478,7 @@       Examples: _S_max_elements  _S_default_value

      Don't use names in the same scope that differ only in the prefix,
-      e.g. _S_top and _M_top. See BADNAMES for a list of forbidden names.
+      e.g. _S_top and _M_top. See BADNAMES for a list of forbidden names.
      (The most tempting of these seem to be and "_T" and "__sz".)

      Names must never have "__" internally; it would confuse name
diff --git a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml index dbc671e698e..f5b759ac518 100644 --- a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml +++ b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml @@ -898,7 +898,7 @@ indicate a place that may require attention for multi-thread safety. Examples: _S_max_elements _S_default_value Don't use names in the same scope that differ only in the prefix, - e.g. _S_top and _M_top. See BADNAMES for a list of forbidden names. + e.g. _S_top and _M_top. See BADNAMES for a list of forbidden names. (The most tempting of these seem to be and "_T" and "__sz".) Names must never have "__" internally; it would confuse name