23a899cf0e
valptridx contains `static_assert` statements of the form: static_assert(var.m, ""); where `var` is a non-`constexpr` reference and `m` is a `static constexpr` member of a base type of `var`. gcc recognizes that a `static constexpr` member is a constant expression and permits this. clang rejects this, presumably because `var` is not a `constexpr` variable. In the almost 3 years since this was added, clang has not improved to permit this usage. Rather than continuing to suppress static_assert in clang, rewrite this expression to be less clear, but be compatible with clang. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
include | ||
main | ||
maths | ||
mem | ||
misc | ||
texmap | ||
ui |