Skip to content

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

Open
@hurzelchen

Description

@hurzelchen

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions