Skip to content
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

Use clang-tidy instead of cpplint to autolint #67

Open
twsearle opened this issue Jan 4, 2024 · 0 comments
Open

Use clang-tidy instead of cpplint to autolint #67

twsearle opened this issue Jan 4, 2024 · 0 comments

Comments

@twsearle
Copy link
Collaborator

twsearle commented 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

  • It isn't worth even attempting this until we get our new computing infrastructure and can easily access modern compilers.
@twsearle 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant