[clang] [Clang][Parser] Accept P2741R3 (static_assert with user-generated message) in C++11 as an extension (PR #102044)

via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 6 09:54:13 PDT 2024


================
@@ -1504,7 +1504,7 @@ Conditional ``explicit``                     __cpp_conditional_explicit       C+
 ``static operator()``                        __cpp_static_call_operator       C++23         C++03
 Attributes on Lambda-Expressions                                              C++23         C++11
 Attributes on Structured Bindings            __cpp_structured_bindings        C++26         C++03
-Static assert with user-generated message                                     C++26         C++11
+Static assert with user-generated message    __cpp_static_assert>=201411L     C++26         C++11
----------------
cor3ntin wrote:

This seems wrong!

https://github.com/llvm/llvm-project/pull/102044


More information about the cfe-commits mailing list