aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Lexer
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2024-04-28 20:25:44 +0200
committerGitHub <noreply@github.com>2024-04-28 20:25:44 +0200
commit6dd90616c477d83c156eed62c880e951bb508cfd (patch)
tree97249d834b0bb458a7509d5bab7abac35c000108 /clang/test/Lexer
parent216787cffc4a864e0effb165c1c32b92328a0a06 (diff)
downloadllvm-6dd90616c477d83c156eed62c880e951bb508cfd.zip
llvm-6dd90616c477d83c156eed62c880e951bb508cfd.tar.gz
llvm-6dd90616c477d83c156eed62c880e951bb508cfd.tar.bz2
[Clang] Implement C++26 Attributes for Structured Bindings (P0609R3) (#89906)
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p0609r3.pdf We support this feature in all language mode. maybe_unused applied to a binding makes the whole declaration unused.
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r--clang/test/Lexer/cxx-features.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp
index baaa9d4..4a08eb6 100644
--- a/clang/test/Lexer/cxx-features.cpp
+++ b/clang/test/Lexer/cxx-features.cpp
@@ -222,7 +222,7 @@
#error "wrong value for __cpp_aggregate_bases"
#endif
-#if check(structured_bindings, 0, 0, 0, 201606, 201606, 201606, 201606)
+#if check(structured_bindings, 0, 0, 0, 202403L, 202403L, 202403L, 202403L)
#error "wrong value for __cpp_structured_bindings"
#endif