OS Manuals

/usr/lib/llvm-17/bin/clang-include-cleaner

C language family frontend for LLVM 17

From clang-17 17.0.6-r30 (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:

  --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
  -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
Options (11)
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
--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 insertionshelp
-p string- Build pathhelp
--print- Print the list of headers to insert and removehelp
--remove- Allow header removalshelp

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