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

Add support for clang-tidy fixes #3537

Closed
benaepli opened this issue Mar 20, 2023 · 2 comments
Closed

Add support for clang-tidy fixes #3537

benaepli opened this issue Mar 20, 2023 · 2 comments

Comments

@benaepli
Copy link

Is your feature request related to a problem? Please describe.

It would be nice if we could get an option to use the clang-tidy --fix option when using xmake check clang.tidy.

Describe the solution you'd like

An option in xmake check clang.tidy to fix the source files.

Describe alternatives you've considered

Perhaps having an optional list of arguments that we pass could work better.

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Mar 21, 2023

waruqi added a commit that referenced this issue Mar 28, 2023
@waruqi
Copy link
Member

waruqi commented Mar 28, 2023

done. xmake update -s dev

xmake check clang.tidy --fix
xmake check clang.tidy --fix_errors
xmake check clang.tidy --fix_notes

@waruqi waruqi closed this as completed Mar 28, 2023
@waruqi waruqi added this to the v2.7.8 milestone Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants