Commit 0fa0dcb
committed
⬆️ Update stdx
Problem:
- LLVM18 clang-tidy flags `handled` as able to be declared `const`. This is
wrong, but what we're actually doing here is better expressed as
`transform_reduce` on the bitset.
Solution:
- Use `transform_reduce`.
Note:
- `transform_reduce` is the operation here because we do not want to shortcut
handling the message. `any_of` would be correct for that use case.1 parent faedd52 commit 0fa0dcb
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments