-Wreturn-type false-negative for fully-covered switch over enum that does not cover all possible underlying types #59085
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
confirmed
Verified by a second party
As per @apinski-cavium @ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107763,
clang's
-Wreturn-type
should fire on the following:https://godbolt.org/z/j8ezrr5h3
The text was updated successfully, but these errors were encountered: