[clang] Diagnose problematic uses of constructor/destructor attribute (PR #67360)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 26 05:47:56 PDT 2023


AaronBallman wrote:

> Should they be valid for `constexpr` functions?

Sure, but perhaps not for `consteval` functions. A `constexpr` function can be deferred to runtime, whereas a `consteval` one cannot. WDYT?

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


More information about the cfe-commits mailing list