Regenerate clang man page after upstream change to document the possible

values for the -std= option.

Noticed by:	Steve Kargl
Obtained from:	https://reviews.llvm.org/rL329827
MFC after:	3 days
This commit is contained in:
dim 2018-04-11 18:39:47 +00:00
parent 00429cbd81
commit 4b91ca5ee1

View File

@ -1,7 +1,7 @@
.\" $FreeBSD$
.\" Man page generated from reStructuredText.
.
.TH "CLANG" "1" "Dec 24, 2017" "6" "Clang"
.TH "CLANG" "1" "Apr 11, 2018" "6" "Clang"
.SH NAME
clang \- the Clang C, C++, and Objective-C compiler
.
@ -128,8 +128,263 @@ Treat subsequent input files as having type language.
.UNINDENT
.INDENT 0.0
.TP
.B \-std=<language>
.B \-std=<standard>
Specify the language standard to compile for.
.sp
Supported values for the C language are:
.INDENT 7.0
.INDENT 3.5
.nf
\fBc89\fP
\fBc90\fP
\fBiso9899:1990\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 1990
.UNINDENT
.UNINDENT
.nf
\fBiso9899:199409\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 1990 with amendment 1
.UNINDENT
.UNINDENT
.nf
\fBgnu89\fP
\fBgnu90\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 1990 with GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc99\fP
\fBiso9899:1999\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 1999
.UNINDENT
.UNINDENT
.nf
\fBgnu99\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 1999 with GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc11\fP
\fBiso9899:2011\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 2011
.UNINDENT
.UNINDENT
.nf
\fBgnu11\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 2011 with GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc17\fP
\fBiso9899:2017\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 2017
.UNINDENT
.UNINDENT
.nf
\fBgnu17\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C 2017 with GNU extensions
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.sp
The default C language standard is \fBgnu11\fP, except on PS4, where it is
\fBgnu99\fP\&.
.sp
Supported values for the C++ language are:
.INDENT 7.0
.INDENT 3.5
.nf
\fBc++98\fP
\fBc++03\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 1998 with amendments
.UNINDENT
.UNINDENT
.nf
\fBgnu++98\fP
\fBgnu++03\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 1998 with amendments and GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc++11\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 2011 with amendments
.UNINDENT
.UNINDENT
.nf
\fBgnu++11\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 2011 with amendments and GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc++14\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 2014 with amendments
.UNINDENT
.UNINDENT
.nf
\fBgnu++14\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 2014 with amendments and GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc++17\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 2017 with amendments
.UNINDENT
.UNINDENT
.nf
\fBgnu++17\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
ISO C++ 2017 with amendments and GNU extensions
.UNINDENT
.UNINDENT
.nf
\fBc++2a\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
Working draft for ISO C++ 2020
.UNINDENT
.UNINDENT
.nf
\fBgnu++2a\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
Working draft for ISO C++ 2020 with GNU extensions
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.sp
The default C++ language standard is \fBgnu++14\fP\&.
.sp
Supported values for the OpenCL language are:
.INDENT 7.0
.INDENT 3.5
.nf
\fBcl1.0\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
OpenCL 1.0
.UNINDENT
.UNINDENT
.nf
\fBcl1.1\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
OpenCL 1.1
.UNINDENT
.UNINDENT
.nf
\fBcl1.2\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
OpenCL 1.2
.UNINDENT
.UNINDENT
.nf
\fBcl2.0\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
OpenCL 2.0
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.sp
The default OpenCL language standard is \fBcl1.0\fP\&.
.sp
Supported values for the CUDA language are:
.INDENT 7.0
.INDENT 3.5
.nf
\fBcuda\fP
.fi
.sp
.INDENT 0.0
.INDENT 3.5
NVIDIA CUDA(tm)
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
@ -602,6 +857,6 @@ output of the compiler, along with information to reproduce.
.SH AUTHOR
Maintained by the Clang / LLVM Team (<http://clang.llvm.org>)
.SH COPYRIGHT
2007-2017, The Clang Team
2007-2018, The Clang Team
.\" Generated by docutils manpage writer.
.