Integrate clang-tidy configuration into nix and CI #147

Open
opened 2024-03-18 21:11:35 +00:00 by jade · 2 comments
Owner

We can run clang-tidy on nix and potentially find some bugs. Let's get a config file going and run it in CI.

This actually depends on meson in practice because of compile_commands.json.

We can run clang-tidy on nix and potentially find some bugs. Let's get a config file going and run it in CI. This actually depends on meson in practice because of compile_commands.json.
jade added the
devx
label 2024-03-18 21:11:35 +00:00
jade added this to the Meson migration project 2024-03-18 21:11:35 +00:00
Author
Owner

it appears this requires almost no work besides fixing the things the linter finds, once meson is in place. https://mesonbuild.com/Release-notes-for-0-52-0.html#clangtidy-target

it appears this requires almost no work besides fixing the things the linter finds, once meson is in place. https://mesonbuild.com/Release-notes-for-0-52-0.html#clangtidy-target
jade added the
E/easy
label 2024-03-19 07:46:45 +00:00
Author
Owner

we can also ban VLAs

we can also ban VLAs
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#147
No description provided.