diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-01-16 17:23:02 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-01-16 17:23:02 +0100 |
commit | 03e0bf3f4f9bd85dcc1f60c4e38157609d754c91 (patch) | |
tree | eefd550c5c066299be273824e3cd5a8ab83774da /libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c | |
parent | 80b52301e8ee9a211ee882863b32caf613fd0a78 (diff) | |
download | gcc-03e0bf3f4f9bd85dcc1f60c4e38157609d754c91.zip gcc-03e0bf3f4f9bd85dcc1f60c4e38157609d754c91.tar.gz gcc-03e0bf3f4f9bd85dcc1f60c4e38157609d754c91.tar.bz2 |
c++: Change c++2b and gnu++2b to c++23 and gnu++23 in C++ diagnostics
This is something we should have done when -std=c++23 was made the
primary option and -std=c++2b turned into undocumented alias.
2025-01-16 Jakub Jelinek <jakub@redhat.com>
gcc/cp/
* parser.cc (cp_parser_lambda_declarator_opt,
cp_parser_statement, cp_parser_selection_statement,
cp_parser_jump_statement): Use -std=c++23 and -std=gnu++23
in diagnostics rather than -std=c++2b and -std=gnu++2b.
* semantics.cc (finish_compound_literal): Likewise.
* typeck2.cc (build_functional_cast_1): Likewise.
* decl.cc (start_decl): Likewise.
* constexpr.cc (ensure_literal_type_for_constexpr_object,
potential_constant_expression_1): Likewise.
gcc/c-family/
* c-lex.cc (interpret_float): Use -std=c++23 and -std=gnu++23
in diagnostics rather than -std=c++2b and -std=gnu++2b.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c')
0 files changed, 0 insertions, 0 deletions