diff options
author | Erich Keane <ekeane@nvidia.com> | 2024-04-09 06:59:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 06:59:31 -0700 |
commit | 2875e2448c147d8a2335882819acdd4c8eb97ea6 (patch) | |
tree | e9aa11479cbea6ec19c09925dff8b5fcd1be4774 /clang/test/Lexer | |
parent | d022f6b8ff94bb13d12d39f23a3c3e7836e90756 (diff) | |
download | llvm-2875e2448c147d8a2335882819acdd4c8eb97ea6.zip llvm-2875e2448c147d8a2335882819acdd4c8eb97ea6.tar.gz llvm-2875e2448c147d8a2335882819acdd4c8eb97ea6.tar.bz2 |
Update __cpp_concepts macro (#87998)
After discussion with a few others, and seeing the state of our concepts
support, I believe it is worth trying to see if we can update this for
Clang19. The forcing function is that libstdc++'s `<expected>` header is
guarded by this macro, so we need to update it to support that.
Diffstat (limited to 'clang/test/Lexer')
-rw-r--r-- | clang/test/Lexer/cxx-features.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Lexer/cxx-features.cpp b/clang/test/Lexer/cxx-features.cpp index 9496746..1de3249 100644 --- a/clang/test/Lexer/cxx-features.cpp +++ b/clang/test/Lexer/cxx-features.cpp @@ -85,7 +85,7 @@ #error "wrong value for __cpp_char8_t" #endif -#if check(concepts, 0, 0, 0, 0, 201907, 201907, 201907) +#if check(concepts, 0, 0, 0, 0, 202002, 202002, 202002) #error "wrong value for __cpp_concepts" #endif |