From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 34484 invoked by alias); 16 May 2017 09:47:32 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 34446 invoked by uid 89); 16 May 2017 09:47:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sk:jwakely X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 May 2017 09:47:30 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C3FB80464; Tue, 16 May 2017 09:47:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 3C3FB80464 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=jwakely@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 3C3FB80464 Received: from localhost (unknown [10.33.36.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id C69695C8B7; Tue, 16 May 2017 09:47:31 +0000 (UTC) Date: Tue, 16 May 2017 09:54:00 -0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [PATCH] Add cross-reference for BADNAMES in libstdc++ manual Message-ID: <20170516094730.GA26348@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-05/txt/msg01258.txt.bz2 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-length: 262 The bad names are not in a file called BADNAMES, so link from the old chunk of documentation to the new position in the manual. * doc/xml/manual/appendix_contributing.xml: Link to the list of bad identifiers. * doc/html/*: Regenerate. Committed to trunk. --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" Content-length: 1159 commit fe4721b08daaf8af40859c9fef15ef7d601906a4 Author: Jonathan Wakely Date: Tue May 16 10:45:30 2017 +0100 Add cross-reference for BADNAMES in libstdc++ manual * doc/xml/manual/appendix_contributing.xml: Link to the list of bad identifiers. * doc/html/*: Regenerate. 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: _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 --bp/iNruPH9dso1Pn--