OS Manuals

/usr/lib/llvm-14/bin/clang-rename

Clang 14 extras

From clang-14-extras 14.0.6-r12 (enterprise-packages), captured 2026-11-08 by running clang-rename --help (exit 0). permalink

USAGE: clang-rename [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-rename common options:

  --export-fixes=<filename>   - YAML file to store suggested fixes in.
  --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
  --force                     - Ignore nonexistent qualified names.
  -i                          - Overwrite edited <file>s.
  --input=<string>            - YAML file to load oldname-newname pairs from.
  --new-name=<string>         - The new name to change the symbol to.
  --offset=<uint>             - Locates the symbol by offset as opposed to <line>:<column>.
  -p=<string>                 - Build path
  --pl                        - Print the locations affected by renaming to stderr.
  --pn                        - Print the found symbol's name prior to renaming to stderr.
  --qualified-name=<string>   - The fully qualified name of the symbol.
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
--export-fixes filename- YAML file to store suggested fixes in.help
--extra-arg string- Additional argument to append to the compiler command linehelp
--force- Ignore nonexistent qualified names.help
-i- Overwrite edited <file>s.help
--input string- YAML file to load oldname-newname pairs from.help
--new-name string- The new name to change the symbol to.help
--offset uint- Locates the symbol by offset as opposed to <line>:<column>.help
-p string- Build pathhelp
--pl- Print the locations affected by renaming to stderr.help
--pn- Print the found symbol's name prior to renaming to stderr.help
--qualified-name string- The fully qualified name of the symbol.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.