Commit dab2cc8
Ewan Crawford
[SYCL][Graph] Fix switch statement for Clang build (#10923)
After the merge of #10789 post-commit
CI is failing on clang builds:
* [MacOS
build](https://github.com/intel/llvm/actions/runs/5935599091/job/16094354219)
* [Linux
build](https://github.com/intel/llvm/actions/runs/5935599091/job/16094354500)
```
/Users/runner/work/llvm/llvm/build/include/sycl/ext/oneapi/experimental/graph.hpp:67:3: error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
default:
```
Fixed by removing the default label from the `switch`, and replacing
with an assert `false` afterwards, which seems consistent with other
places in the sycl runtime.1 parent 465aa56 commit dab2cc8
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments