From owner-freebsd-current@freebsd.org Sat Apr 7 19:00:15 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 214CDF9EF85 for ; Sat, 7 Apr 2018 19:00:15 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8AD596F47E; Sat, 7 Apr 2018 19:00:14 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.home.andric.com (coleburn.home.andric.com [192.168.0.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 9372844EB4; Sat, 7 Apr 2018 21:00:07 +0200 (CEST) From: Dimitry Andric Message-Id: <9EF36320-F1E8-4FF7-A917-7D4872EA610F@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_F8C12BC2-D23B-4A13-A358-69AAFDA2F3CA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: clang manual page? Date: Sat, 7 Apr 2018 21:00:06 +0200 In-Reply-To: <20180406183942.GB78891@troutmask.apl.washington.edu> Cc: David Chisnall , Pete Wright , Conrad Meyer , freebsd-current , Ed Maste To: sgk@troutmask.apl.washington.edu References: <20180405223852.GA43120@troutmask.apl.washington.edu> <20180406001514.GA43793@troutmask.apl.washington.edu> <347cc907-96b3-140d-5a8f-084f91283be5@nomadlogic.org> <6691B42A-E56F-4432-82FA-42BC410EC152@FreeBSD.org> <09A15F48-0AEA-48C5-920B-232E474B405B@FreeBSD.org> <20180406183942.GB78891@troutmask.apl.washington.edu> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2018 19:00:15 -0000 --Apple-Mail=_F8C12BC2-D23B-4A13-A358-69AAFDA2F3CA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 6 Apr 2018, at 20:39, Steve Kargl = wrote: >=20 > On Fri, Apr 06, 2018 at 01:25:54PM +0200, Dimitry Andric wrote: >> Yes, but that manual is also pretty much incomplete, so with the last >> import I decided to stay with the older perl doc based one. Upstream >> is pretty bad at writing detailed documentation, certainly in the = form >> of man pages. >>=20 >=20 > Index: clang.1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- clang.1 (revision 332114) > +++ clang.1 (working copy) > @@ -128,15 +128,72 @@ > .UNINDENT > .INDENT 0.0 > .TP > -.B \-std=3D > -Specify the language standard to compile for. > +.B \-std=3D > +Specify the language standard to enforce. > + > +A partial list of validate > +.B > +for the C programming language is > +.INDENT 7.0 > +.INDENT 3.5 > +\fIc89\fP ISO/IEC 9899:1990 > +.sp > +\fIc90\fP ISO/IEC 9899:1990 > +.sp > +\fIc99\fP ISO/IEC 9899:1999 > +.sp > +\fIc11\fP ISO/IEC 9899:2011 > +.sp > +\fIc17\fP Working draft for ISO/EIC 9899:2017 > +.sp > +\fIgnu89\fP ISO/IEC 9899:1990 with GNU extensions > +.sp > +\fIgnu90\fP ISO/IEC 9899:1990 with GNU extensions > +.sp > +\fIgnu99\fP ISO/IEC 9899:1999 with GNU extensions > +.sp > +\fIgnu11\fP ISO/IEC 9899:2011 with GNU extensions > +.sp > +\fIgnu17\fP Draft for ISO/EIC 9899:2017 with GNU extensions > .UNINDENT > +.UNINDENT > + > +A partial list of validate > +.B > +for the C++ programming language is > +.INDENT 7.0 > +.INDENT 3.5 > +\fIc++98\fP ISO/IEC 14882:1998 with amendments > +.sp > +\fIc++03\fP ISO/IEC 14882:2003 with amendments > +.sp > +\fIc++11\fP ISO/IEC 14882:2011 with amendments > +.sp > +\fIc++14\fP ISO/IEC 14882:2014 with amendments > +.sp > +\fIc++17\fP ISO/IEC 14882:2017 with amendments > +.sp > +\fIc++2a\fP Draft ISO/IEC 14882:2020 > +.sp > +\fIgnu++98\fP ISO/IEC 14882:1998 with amendments and GNU extensions > +.sp > +\fIgnu++03\fP ISO/IEC 14882:2003 with amendments and GNU extensions > +.sp > +\fIgnu++11\fP ISO/IEC 14882:2011 with amendments and GNU extensions > +.sp > +\fIgnu++14\fP ISO/IEC 14882:2014 with amendments and GNU extensions > +.sp > +\fIgnu++17\fP ISO/IEC 14882:2017 with amendments and GNU extensions > +.sp > +\fIgnu++2a\fP Draft ISO/IEC 14882:2020 with GNU extensions > +.UNINDENT > +.UNINDENT > +.UNINDENT > .INDENT 0.0 > .TP > .B \-stdlib=3D > Specify the C++ standard library to use; supported options are = libstdc++ and > libc++. If not specified, platform default will be used. > -.UNINDENT > .INDENT 0.0 > .TP > .B \-rtlib=3D Thanks for the diff, but the man page is generated from a .rst source, so it will have to be changed there instead. I will submit an analogous patch upstream for the rst file. -Dimitry --Apple-Mail=_F8C12BC2-D23B-4A13-A358-69AAFDA2F3CA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWskVNgAKCRCwXqMKLiCW o8uGAJ9vUEc+uLGMfTMiad5zjSXyQW6aSQCfYnUUAV3ZpSzIW0qRZ5eCBNdeEQU= =GxNw -----END PGP SIGNATURE----- --Apple-Mail=_F8C12BC2-D23B-4A13-A358-69AAFDA2F3CA--