[flang-commits] [lld] [clang] [compiler-rt] [flang] [lldb] [libcxx] [llvm] [libc] [clang-tools-extra] [Clang][C++23] Implement P2448R2: Relaxing some constexpr restrictions (PR #77753)

Mariya Podchishchaeva via flang-commits flang-commits at lists.llvm.org
Wed Jan 24 08:43:19 PST 2024


Fznamznon wrote:

> Line 551 in [99cae9a](https://github.com/llvm/llvm-project/commit/99cae9a44fca4cfbd6ee82f196051cbdf6571fa1)
 will set DefaultedDestructorIsConstexpr regardless of language mode, which it should not.

@cor3ntin , I wonder, since we want to claim it as an extension in earlier language modes, should I actually add an option for this extension and set these flags to this option value, not even language mode? Or is that not worth it?



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


More information about the flang-commits mailing list