diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -568,7 +568,9 @@ def lint(ctx): if "IWYU_TOOL" in ctx.env: Logs.info("Running include-what-you-use") - cmd = [ctx.env.IWYU_TOOL[0], "-o", "clang", "-p", "build"] + cmd = [ctx.env.IWYU_TOOL[0], "-o", "clang", "-p", "build", "--", + "-Xiwyu", "--check_also=*.hpp", + "-Xiwyu", "--check_also=*.ipp"] output = subprocess.check_output(cmd).decode('utf-8') if 'error: ' in output: sys.stdout.write(output) |