================
@@ -172,10 +172,8 @@ enum class GH42372_2 {
#if __STDC_VERSION__ >= 202311L
// FIXME: GCC picks __uint128_t as the underlying type for the enumeration
// value and Clang picks unsigned long long.
-// FIXME: Clang does not yet implement WG14 N3029, so the warning about
-// restricting enumerator values to 'int' is not correct.
enum GH59352 { // expected-warning {{enumeration values exceed range of
largest integer}}
- BigVal = 66666666666666666666wb // expected-warning {{ISO C restricts
enumerator values to range of 'int' (66666666666666666666 is too large)}}
+ BigVal = 66666666666666666666wb // c99-warning {{ISO C restricts enumerator
values to range of 'int' (66666666666666666666 is too large)}}
----------------
h-vetinari wrote:
This fixme is removed while the warning still refers to `'int'` (i.e. what the
fixme is about)
https://github.com/llvm/llvm-project/pull/103917
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits