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

Handle a bunch of the actually helpful clang-tidy issues #121

Open
ckormanyos opened this issue Sep 19, 2023 · 3 comments
Open

Handle a bunch of the actually helpful clang-tidy issues #121

ckormanyos opened this issue Sep 19, 2023 · 3 comments
Assignees
Labels

Comments

@ckormanyos
Copy link
Collaborator

There are quite a few actually helpful clang tidy issues. Many of these can be seen when scrolling through this log.

Yet these are quite easy to handle.

The purpose of this issue is to handle meaningful clang-tidy messages in a minimally-invasive way.

@ckormanyos ckormanyos self-assigned this Sep 19, 2023
@ckormanyos
Copy link
Collaborator Author

ckormanyos commented Sep 19, 2023

Hi Matt (@mborland) in the spirit of moving forward, I plan to remove:

  • remove: llvm-else-after-return
  • remove readability-else-after-return

due to lack of tangible value. These are getting in the way of meaningful messages.

Is this OK for you?

@mborland
Copy link
Member

Hi Matt (@mborland) in the spirit of moving forward, I plan to remove:

  • remove: llvm-else-after-return

  • remove readability-else-after-return

due to lack of tangible value. These are getting in the way of meaningful messages.

Is this OK for you?

That's good with me. I find that sonarlint gives fewer messages than clang tidy but they seem to be higher quality.

@ckormanyos
Copy link
Collaborator Author

Basically all the activated/removed rules can be found here.

Line 45 activates everything via the *. Then subsequently specific rules or wildcard rule-sets are disabled with the minus sign.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants