OS Manuals

/usr/lib/llvm-23/bin/clang-move

Clang 23 extras

From clang-23-extras 23.1.5-r0 (os), captured 2026-11-05 by running clang-move --help (exit 0). permalink

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

  --dump_decls                - Dump all declarations in old header (JSON format) to stdout. If the option is specified, other command options will be ignored. An empty JSON will be returned if old header isn't specified.
  --dump_result               - Dump results in JSON format to stdout.
  --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
  --names=<string>            - The list of the names of classes being moved, e.g. "Foo,a::Foo,b::Foo".
  --new_cc=<string>           - The relative/absolute file path of new cc.
  --new_depend_on_old         - Whether new header will depend on old header. If true, clang-move will add #include of old header to new header.
  --new_header=<string>       - The relative/absolute file path of new header.
  --old_cc=<string>           - The relative/absolute file path of old cc.
  --old_depend_on_new         - Whether old header will depend on new header. If true, clang-move will add #include of new header to old header.
  --old_header=<string>       - The relative/absolute file path of old header.
  -p <string>                 - Build path
  --style=<string>            - The style name used for reformatting. Default is "llvm"
Options (15)
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
--dump_decls- Dump all declarations in old header (JSON format) to stdout.help
--dump_result- Dump results in JSON format to stdout.help
--extra-arg string- Additional argument to append to the compiler command linehelp
--names string- The list of the names of classes being moved, e.g. "Foo,a::Foo,b::Foo".help
--new_cc string- The relative/absolute file path of new cc.help
--new_depend_on_old- Whether new header will depend on old header.help
--new_header string- The relative/absolute file path of new header.help
--old_cc string- The relative/absolute file path of old cc.help
--old_depend_on_new- Whether old header will depend on new header.help
--old_header string- The relative/absolute file path of old header.help
-p string- Build pathhelp
--style string- The style name used for reformatting.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.