feat: clang-tidy by file instead of by target#586
feat: clang-tidy by file instead of by target#586jared-rodgers-figure wants to merge 6 commits intoaspect-build:mainfrom
Conversation
|
|
|
|
Hi @jared-rodgers-figure, are you still interested in this feature? #734 was accepted recently. Since I also suffer from long lint-time in our C++ code, I would be very interested in seeing a patch like this one go through. Thank you for your work! |
|
Oh! sorry for the ping. I somewhat thought that #734 was about rust clippy. It's about clang-tidy, so this takes care of that. You can ignore my previous comment. |



feat: clang-tidy by file instead of by target
Currently clang-tidy creates an action per target for linting, this change aims to swap to an action per file to help speed up lint time through parallelization.
Note: #512 addresses the same issue, but it seems the comments were not addressed so I took a stab at it here.
Changes are visible to end-users: no
Users will get their cache invalidated, but do not have to change anything.
Test plan
Patched this change into my local repo and ran the linter.