[clang][enum_overflow]Clang incorrectly thinks that enumerators of enum does not fit in the largest integer type #120350
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
diverges-from:gcc
Does the clang frontend diverge from gcc on this issue
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
Test case:
Backtrace:
It can be compiled in gcc, but an error is reported in clang.
https://godbolt.org/z/4Pdxs5sEs
This problem has been fixed before, but is it not compatible with this yet?
#24667
The text was updated successfully, but these errors were encountered: