---
name: "clang-apply-replacements-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-apply-replacements-4.0"
---

# clang-apply-replacements-4.0(1)

manual page for clang-apply-replacements 4.0

## NAME

clang-apply-replacements - manual page for clang-apply-replacements 4.0

## DESCRIPTION

USAGE: clang-apply-replacements \[options\] \<Search Root Directory\>

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

Replacement Options:

- **-remove-change-desc-files** - Remove the change description files regardless of successful

  merging/replacing.

Formatting Options:

- **-format** - Enable formatting of code changed by applying replacements.

  Use **-style** to choose formatting style.

- **-style=**\<string\> - Coding style, currently supports:

  LLVM, Google, Chromium, Mozilla, WebKit.

- Use **-style**=*file* to load style configuration from

  .clang-format file located in one of the parent directories of the source file (or current directory for stdin). Use **-style=**"{key: value, ...}" to set specific parameters, e.g.:

-

  **-style=**"{BasedOnStyle: llvm, IndentWidth: 8}"

- **-style-config=**\<string\> - Path to a directory containing a .clang-format file

  describing a formatting style to use for formatting code when **-style**=*file*.

## SEE ALSO

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

-

  **info clang-apply-replacements**

should give you access to the complete manual.
