AaronBallman wrote:

> Given the problem in [#77753 
> (comment)](https://github.com/llvm/llvm-project/pull/77753#issuecomment-1912258038)
>  , @cor3ntin , @AaronBallman WDYT about adding new flags to `CXXRecordDecl`, 
> saying that constructor/destructor is not really `constexpr` before C++23?

Would it make sense to change `DefaultedDestructorIsConstexpr` so it's not a 
one-bit boolean value but is instead a 2-bit enumeration so we can have `Yes`, 
`No`, `NotUntilCpp23` as values for it? Then we're not adding related flags but 
keeping the logic in a single flag?

https://github.com/llvm/llvm-project/pull/77753
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to