IWYU_TOOL.PY(1)
β¨ NAME β¨
iwyu_tool.py β the Include-what-you-use compilation database driver π
(we're in the User Commands section btw, so you know this is the real-deal runnable girlie and not some library deep lore π«Ά)
π DESCRIPTION π
okay bestie so here's the vibe. You run it like this:
usage: iwyu_tool.py [-h] [-v] [-o {clang,iwyu}] [-j JOBS] -p
<build-path>
[source [source ...]] -- [<IWYU args>]
[source [source ...]]
and it is literally the Include-what-you-use compilation database driver. That's the whole job description. She drives the compilation database. Main character energy only π
πΈ positional arguments πΈ
sourceβ zero or more source files to run IWYU on. Zero!! As in, if you don't name any, she just defaults to all of them in the compilation database. Not me handing over the aux π
β optional arguments β
-h,--helpβ show this help message and exit. The classic. The icon. The "I forgot the flags again" savior π-v,--verboseβ print the IWYU commands. Yes queen, show your work, we love transparency β¨-o {clang,iwyu},--output-format {clang,iwyu}β output format, and the default isiwyu. Pick your fighter:clangoriwyuπ-j JOBS,--jobs JOBSβ number of concurrent subprocesses. Go parallel, go fast, go feral π₯-p <build-path>β the compilation database path. This one's required, no cap, she will not guess where your build lives π
also important: she assumesinclude-what-you-useis available on thePATH. So if it's not on yourPATH, that's a you problem, not a her problem π fix yourPATHbestie.
that's it, that's the page β short, sweet, slays πΈ
this lil masterpiece is iwyu_tool.py version 6.0-2, dated September 2018 β an absolute vintage icon, and yes she still ate π
π¦ where this page comes from
- debian bookworm: iwyu 8.18-2 Β· U-OF-I-BSD-LIKE
- debian trixie: iwyu 8.23-1 Β· U-OF-I-BSD-LIKE
- ubuntu jammy: iwyu 8.17-1 Β· U-OF-I-BSD-LIKE
- ubuntu noble: iwyu 8.21-1build2 Β· U-OF-I-BSD-LIKE
- ubuntu questing: iwyu 8.23-1
- ubuntu resolute: iwyu 8.23-1build1 Β· U-OF-I-BSD-LIKE
- ubuntu stonking: iwyu 8.23-1build1 Β· U-OF-I-BSD-LIKE
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms