You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the linter would just automatically apply a style so that we never have to think about our cpp style outside of discussions of the linter configuration.
clang-tidy seems like the standard tool for this. It supports the same google style options as cpplint and purports to be able to automatically detect and fix issues. Linting can be switched off using comments in the code for specific blocks if necessary.
Dependencies
It isn't worth even attempting this until we get our new computing infrastructure and can easily access modern compilers.
The text was updated successfully, but these errors were encountered:
twsearle
changed the title
Use clang-tidy instead of cpplint to autolint the project
Use clang-tidy instead of cpplint to autolint
Jan 4, 2024
Description
It would be nice if the linter would just automatically apply a style so that we never have to think about our cpp style outside of discussions of the linter configuration.
clang-tidy
seems like the standard tool for this. It supports the same google style options as cpplint and purports to be able to automatically detect and fix issues. Linting can be switched off using comments in the code for specific blocks if necessary.Dependencies
The text was updated successfully, but these errors were encountered: