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

Incorrect order of arguments for include-what-you-use? #49

Open
hurzelchen opened this issue Sep 20, 2022 · 0 comments
Open

Incorrect order of arguments for include-what-you-use? #49

hurzelchen opened this issue Sep 20, 2022 · 0 comments

Comments

@hurzelchen
Copy link

Maybe I'm just too new to integrating pre-commit into my project and use it incorrectly, but it seems that the arguments for include-what-you-use are passed incorrectly.

The manpage reads
USAGE: include-what-you-use [-Xiwyu --iwyu_opt]... <clang opts> <source file>

but hooks/include_what_you_use.py:25 currently reads
self.run_command([filename] + self.args)

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