Commit 7e72b2b
fix(ci): use .clang-format file in CI and set AllowShortFunctionsOnASingleLine: None
- Switch CI clang-format-18 check from --style=Google to --style=file
so it reads the repo's .clang-format instead of raw Google defaults.
This eliminates version-skew between clang-format-18 (CI) and
clang-format-21 (local pre-commit hook).
- Change AllowShortFunctionsOnASingleLine from Empty to None in
.clang-format so short function bodies (including empty {}) are
always expanded to multi-line, ensuring v18 and v21 agree.
- Re-format irk_capture.h: expand setup() override {} to multi-line.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 412389b commit 7e72b2b
File tree
3 files changed
+5
-4
lines changed- .github/workflows
- components/irk_capture
3 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
0 commit comments