mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
The comment for ValueType claims that all values <1 are errors, but not all switch statements take this into account. This patch introduces an explicit Error case and deletes all default: cases, so we get warned about incomplete switch coverage. https://reviews.llvm.org/D96537