[clang] [Clang][Sema] Backport P2741R3 (static_assert with user-generated message) to C++11 (PR #102044)

Mital Ashok via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 5 13:10:05 PDT 2024


MitalAshok wrote:

This doesn't make sense to backport to C++98's `_Static_assert` extension (no `constexpr` member functions)

CC @cor3ntin @AaronBallman 

Re: affects on libc++/any downstream:
Other than the feature test macro, this extension should not affect any valid C++11/20 program, since previously it just didn't parse.


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


More information about the cfe-commits mailing list