OS Manuals

/usr/bin/clang-change-namespace

Clang 20 extras

From clang-20-extras 20.1.8-r21 (os), captured 2026-11-05 by running clang-change-namespace --help (exit 0). permalink

USAGE: clang-change-namespace [options] <source0> [... <sourceN>]

OPTIONS:

Change namespace.:

  --allowed_file=<string>     - A file containing regexes of symbol names that are not expected to be updated when changing namespaces around them.
  --dump_result               - Dump new file contents in YAML, if specified.
  --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
  --file_pattern=<string>     - Only rename namespaces in files that match the given pattern.
  -i                          - Inplace edit <file>s, if specified.
  --new_namespace=<string>    - New namespace.
  --old_namespace=<string>    - Old namespace.
  -p <string>                 - Build path
  --style=<string>            - The style name used for reformatting.

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
Options (12)
OptionDescriptionSource
--allowed_file string- A file containing regexes of symbol names that are not expected to be updated when changing namespaces around them.help
--dump_result- Dump new file contents in YAML, if specified.help
--extra-arg string- Additional argument to append to the compiler command linehelp
--file_pattern string- Only rename namespaces in files that match the given pattern.help
-i- Inplace edit <file>s, if specified.help
--new_namespace string- New namespace.help
--old_namespace string- Old namespace.help
-p string- Build pathhelp
--style string- The style name used for reformatting.help
--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

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