OS Manuals

/usr/bin/clang-include-cleaner

C language family frontend for LLVM 21

From clang-21 21.1.8-r17 (os), captured 2026-11-05 by running clang-include-cleaner --help (exit 0). permalink

USAGE: clang-include-cleaner [options] <source0> [... <sourceN>]

OPTIONS:

Generic Options:

  --help                      - Display available options (--help-hidden for more)
  --help-list                 - Display list of available options (--help-list-hidden for more)
  --version                   - Display the version of this program

clang-include-cleaner:

  --disable-insert            - Disable header insertions
  --disable-remove            - Disable header removals
  --edit                      - Apply edits to analyzed source files
  --extra-arg=<string>        - Additional argument to append to the compiler command line
  --extra-arg-before=<string> - Additional argument to prepend to the compiler command line
  --html=<string>             - Specify an output filename for an HTML report. This describes both recommendations and reasons for changes.
  --ignore-headers=<string>   - A comma-separated list of regexes to match against suffix of a header, and disable analysis if matched.
  --insert                    - Allow header insertions (deprecated. Use -disable-insert instead)
  --only-headers=<string>     - A comma-separated list of regexes to match against suffix of a header. Only headers that match will be analyzed.
  -p <string>                 - Build path
  --print                     - Print the list of headers to insert and remove
  --print=<value>             - Print the list of headers to insert and remove
    =changes                  -   Print symbolic changes
    =<empty>                  -   Print final code
  --remove                    - Allow header removals (deprecated. Use -disable-remove instead)
Options (14)
OptionDescriptionSource
--help- Display available options (--help-hidden for more)help
--help-list- Display list of available options (--help-list-hidden for more)help
--version- Display the version of this programhelp
--disable-insert- Disable header insertionshelp
--disable-remove- Disable header removalshelp
--edit- Apply edits to analyzed source fileshelp
--extra-arg string- Additional argument to append to the compiler command linehelp
--html string- Specify an output filename for an HTML report.help
--ignore-headers string- A comma-separated list of regexes to match against suffix of a header, and disable analysis if matched.help
--insert- Allow header insertions (deprecated.help
--only-headers string- A comma-separated list of regexes to match against suffix of a header.help
-p string- Build pathhelp
--print- Print the list of headers to insert and removehelp
--remove- Allow header removals (deprecated.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.