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

Mariya Podchishchaeva via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 24 01:06:08 PST 2024


Fznamznon wrote:

> CheckConstexprFunctionDefinition will return false for a destructor if defaultedDestructorIsConstexpr returns false (unless we want to emit a diagnostic)`

I see. So defaulted special members now *actually* constexpr. I've made that change. I confused everything with functions and only disabled diagnostic for these. Now it should work correctly.

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


More information about the libcxx-commits mailing list