[clang] [clang] Check constexpr int->enum conversions consistently. (PR #143034)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 16 00:39:57 PDT 2025


eaeltsin wrote:

I think the pattern is something like
```
enum { const_value = 1 };
template<size_t N> class Foo {...};
Foo<const_value + 1> foo;
```


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


More information about the cfe-commits mailing list