c++: Some C++20 and C++23 option help fixes

I've noticed we still refer to C++20 as draft standard, and there is a pasto
in C++23 description.

2021-01-28  Jakub Jelinek  <jakub@redhat.com>

	* c.opt (-std=c++2a, -std=c++20, -std=gnu++2a, -std=gnu++20): Remove
	draft from description.
	(-std=c++2b): Fix a pasto, 2020 -> 2023.
This commit is contained in:
Jakub Jelinek 2021-01-28 10:00:52 +01:00
parent a523add327
commit c392d040f6

View file

@ -2208,15 +2208,15 @@ Conform to the ISO 2017 C++ standard.
std=c++2a
C++ ObjC++ Alias(std=c++20) Undocumented
Conform to the ISO 2020 C++ draft standard (experimental and incomplete support).
Conform to the ISO 2020 C++ standard (experimental and incomplete support).
std=c++20
C++ ObjC++
Conform to the ISO 2020 C++ draft standard (experimental and incomplete support).
Conform to the ISO 2020 C++ standard (experimental and incomplete support).
std=c++2b
C++ ObjC++ Alias(std=c++23)
Conform to the ISO 2020 C++ draft standard (experimental and incomplete support).
Conform to the ISO 2023 C++ draft standard (experimental and incomplete support).
std=c++23
C++ ObjC++ Undocumented
@ -2294,11 +2294,11 @@ Conform to the ISO 2017 C++ standard with GNU extensions.
std=gnu++2a
C++ ObjC++ Alias(std=gnu++20) Undocumented
Conform to the ISO 2020 C++ draft standard with GNU extensions (experimental and incomplete support).
Conform to the ISO 2020 C++ standard with GNU extensions (experimental and incomplete support).
std=gnu++20
C++ ObjC++
Conform to the ISO 2020 C++ draft standard with GNU extensions (experimental and incomplete support).
Conform to the ISO 2020 C++ standard with GNU extensions (experimental and incomplete support).
std=gnu++2b
C++ ObjC++ Alias(std=gnu++23)