-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clang tidy - apply #326
Clang tidy - apply #326
Conversation
This address #234 |
Please take a look at these updates for CPP code. |
Here's another clang-tidy CI action that builds upon the previously suggested one with inline comments in the review: |
After creating the
(this example presupposes that the command is being issued from the same directory as |
This reverts commit d7a90ff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The command to run clang-tidy locally, as mentioned in the comments in the CI workflow file, is:
|
Applied
Note that this does not yet apply clang-tidy in the continuous integration. This might be done with this GitHub action: https://github.com/HorstBaerbel/action-clang-tidy
References:
https://www.kdab.com/clang-tidy-part-1-modernize-source-code-using-c11c14/
https://www.electronjs.org/docs/latest/development/clang-tidy
https://www.wholetomato.com/blog/2021/01/08/a-brief-introduction-to-clang-tidy-and-its-role-in-visual-assist/