Clang currently doesn't warn about unreachable code in template functions, as it may not be unreachable in all instantiations.
Do the same for unreachable fallthrough annotations.
Differential D31069
Don't warn about an unreachable fallthrough annotation in a template function ahmedasadi on Mar 16 2017, 8:52 PM. Authored by
Details Clang currently doesn't warn about unreachable code in template functions, as it may not be unreachable in all instantiations. Do the same for unreachable fallthrough annotations.
Diff Detail Event Timeline |