Commit 0cd37b7
committed
Add clang-tidy support to template
CLANG-TIDY PRESET:
- Added clang-tidy configure preset with comprehensive check set
- Added clang-tidy build preset
- Added clang-tidy test preset
- Configured sensible check exclusions (fuchsia, google, llvm, etc.)
CLANG-TIDY CI:
- Added dedicated clang-tidy job to CI template
- Installs clang-tidy on Ubuntu
- Runs full build and test cycle with static analysis
- Provides early feedback on code quality issues
USAGE:
cmake --preset=clang-tidy
cmake --build --preset=clang-tidy
ctest --preset=clang-tidy1 parent 3ce5cba commit 0cd37b7
2 files changed
+40
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
41 | 67 | | |
42 | 68 | | |
43 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
36 | 46 | | |
37 | 47 | | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
41 | | - | |
| 51 | + | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | | - | |
| 55 | + | |
| 56 | + | |
45 | 57 | | |
46 | 58 | | |
0 commit comments