Commit 7f9ba19
committed
[DirectX] Fix two "not all control paths return a value" warnings
These switch statements are fully covered. Add an llvm_unreachable so
that compilers that don't recognize that don't warn.
Differential Revision: https://reviews.llvm.org/D1548821 parent cf410b1 commit 7f9ba19
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| 176 | + | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
| |||
0 commit comments