---
name: "clang-reorder-fields-22"
section: "1"
platform: "linux"
package: "clang-tools-22"
version: "1:22.1.8-1~deb13u4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/clang-reorder-fields-22"
---

# clang-reorder-fields-22(1)

manual page for clang-reorder-fields 22

## NAME

clang-reorder-fields - manual page for clang-reorder-fields 22

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