diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-11-03 12:30:59 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-11-04 08:31:45 +0000 |
commit | 6933c05ade7cf9872e2c953339a5d2867e81bdcb (patch) | |
tree | ac9b812f08b5384066b3e73d8a828e19bc5722a6 /libstdc++-v3/doc/html | |
parent | 8067caa85d038bfec829b7e3bd6b82d34e562904 (diff) | |
download | gcc-6933c05ade7cf9872e2c953339a5d2867e81bdcb.zip gcc-6933c05ade7cf9872e2c953339a5d2867e81bdcb.tar.gz gcc-6933c05ade7cf9872e2c953339a5d2867e81bdcb.tar.bz2 |
libstdc++: Replace "_N" in examples of naming conventions
The name "_N" is listed as a reserved name on Solaris, so we shouldn't
use it as an example of our naming conventions.
libstdc++-v3/ChangeLog:
* doc/xml/manual/appendix_contributing.xml: Replace example that
uses a BADNAME.
* doc/html/manual/source_code_style.html: Regenerate.
Diffstat (limited to 'libstdc++-v3/doc/html')
-rw-r--r-- | libstdc++-v3/doc/html/manual/source_code_style.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/doc/html/manual/source_code_style.html b/libstdc++-v3/doc/html/manual/source_code_style.html index 24e0d69..26b7ea5 100644 --- a/libstdc++-v3/doc/html/manual/source_code_style.html +++ b/libstdc++-v3/doc/html/manual/source_code_style.html @@ -468,7 +468,7 @@ <br /> Type names and template formal-argument names: <code class="literal">_[A-Z][^_].*</code><br /> <br /> - Examples: <code class="code">_Helper _CharT _N</code><br /> + Examples: <code class="code">_Helper _CharT _Nm</code><br /> <br /> Member data and function names: <code class="literal">_M_.*</code><br /> <br /> @@ -480,7 +480,7 @@ <br /> Don't use names in the same scope that differ only in the prefix,<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 /> + (The most tempting of these seem to be and "_T" and "_N".)<br /> <br /> Names must never have "__" internally; it would confuse name<br /> unmanglers on some targets. Also, never use "__[0-9]", same reason.<br /> |