---
name: "clang-rename-4.0"
section: "1"
platform: "linux"
package: "clang-tools-4.0"
version: "1:4.0.1-10~deb9u2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/clang-rename-4.0"
---

# clang-rename-4.0(1)

manual page for clang-rename 4.0

## NAME

clang-rename - manual page for clang-rename 4.0

## DESCRIPTION

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

**-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.

## SEE ALSO

The full documentation for **clang-rename** is maintained as a Texinfo manual.  If the **info** and **clang-rename** programs are properly installed at your site, the command

-

  **info clang-rename**

should give you access to the complete manual.
