---
name: "clang-reorder-fields-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-reorder-fields-4.0"
---

# clang-reorder-fields-4.0(1)

manual page for clang-reorder-fields 4.0

## NAME

clang-reorder-fields - manual page for clang-reorder-fields 4.0

## DESCRIPTION

OVERVIEW: A tool to reorder fields in C/C++ structs/classes.

USAGE: clang-reorder-fields \[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-reorder-fields options:

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

**-fields-order=**\<string\>     - The desired fields order.

**-i**                         - Overwrite edited files.

**-p=**\<string\>                - Build path

**-record-name=**\<string\>      - The name of the struct/class.

## SEE ALSO

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

-

  **info clang-reorder-fields**

should give you access to the complete manual.
