diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2022-11-01 13:37:12 +0100 |
---|---|---|
committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-07-20 08:33:19 +0200 |
commit | 47ccfd7a89e2a9a747a7114db18db1376324799c (patch) | |
tree | 4d8534e9793cea3f6dfb4add30b37bc3bdd41366 /clang/test/Lexer/cxx-features.cpp | |
parent | 1c154bd755153b5c6ada4bbed58facf23f6abffc (diff) | |
download | llvm-47ccfd7a89e2a9a747a7114db18db1376324799c.zip llvm-47ccfd7a89e2a9a747a7114db18db1376324799c.tar.gz llvm-47ccfd7a89e2a9a747a7114db18db1376324799c.tar.bz2 |
[Clang] Implement P2741R3 - user-generated static_assert messages
Reviewed By: #clang-language-wg, aaron.ballman
Differential Revision: https://reviews.llvm.org/D154290
Diffstat (limited to 'clang/test/Lexer/cxx-features.cpp')
-rw-r--r-- | clang/test/Lexer/cxx-features.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp index 5c5408c2..94b2677 100644 --- a/clang/test/Lexer/cxx-features.cpp +++ b/clang/test/Lexer/cxx-features.cpp @@ -169,10 +169,6 @@ #error "wrong value for __cpp_if_constexpr" #endif -// range_based_for checked below - -// static_assert checked below - #if check(deduction_guides, 0, 0, 0, 201703, 201703, 201703, 201703) // FIXME: 201907 in C++20 #error "wrong value for __cpp_deduction_guides" @@ -308,7 +304,7 @@ #error "wrong value for __cpp_range_based_for" #endif -#if check(static_assert, 0, 200410, 200410, 201411, 201411, 201411, 201411) +#if check(static_assert, 0, 200410, 200410, 201411, 201411, 201411, 202306) #error "wrong value for __cpp_static_assert" #endif |