diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-05-16 10:46:21 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-05-16 10:46:21 +0100 |
commit | ad2b8b37ecc4924ed9fed5f769db94689f1cf57d (patch) | |
tree | e9415044de88969aa240b3c43c84a4865c2e1b98 | |
parent | 6da37857031422ddcc84635905257e491210e665 (diff) | |
download | gcc-ad2b8b37ecc4924ed9fed5f769db94689f1cf57d.zip gcc-ad2b8b37ecc4924ed9fed5f769db94689f1cf57d.tar.gz gcc-ad2b8b37ecc4924ed9fed5f769db94689f1cf57d.tar.bz2 |
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
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/doc/html/manual/source_code_style.html | 2 | ||||
-rw-r--r-- | 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 4c6ca4b..7b5ffce 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2017-05-16 Jonathan Wakely <jwakely@redhat.com> + + * doc/xml/manual/appendix_contributing.xml: Link to the list of bad + identifiers. + * doc/html/*: Regenerate. + 2017-05-15 Jonathan Wakely <jwakely@redhat.com> 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 790276f..e17530c 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: <code class="code">_S_max_elements _S_default_value</code><br /> <br /> Don't use names in the same scope that differ only in the prefix,<br /> - e.g. _S_top and _M_top. See BADNAMES for a list of forbidden names.<br /> + e.g. _S_top and _M_top. See <a class="link" href="source_code_style.html#coding_style.bad_identifiers" title="Bad Identifiers">BADNAMES</a> for a list of forbidden names.<br /> (The most tempting of these seem to be and "_T" and "__sz".)<br /> <br /> Names must never have "__" internally; it would confuse name<br /> diff --git a/libstdc++-v3/doc/xml/manual/appendix_contributing.xml b/libstdc++-v3/doc/xml/manual/appendix_contributing.xml index dbc671e..f5b759a 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: <code>_S_max_elements _S_default_value</code> 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 <link linkend="coding_style.bad_identifiers">BADNAMES</link> 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 |