CLANG-REORDER-FIELDS(1)
π CLANG-REORDER-FIELDS π
okay bestie, welcome to the manual page for clang-reorder-fields 16 β she's a user command, she's iconic, and she's about to rearrange your structs like they're your room and she's the friend who "just has a vision" π
πΈ NAME πΈ
clang-reorder-fields β the manual page for clang-reorder-fields 16, no cap β¨
π¦ DESCRIPTION π¦
π OVERVIEW π
so what does she DO? A tool to reorder fields in C/C++ structs/classes. that's it, that's the whole personality, and she ate π
π USAGE π
clang-reorder-fields [options] <source0> [... <sourceN>]
yep, you give her one source file, or a whole lineup of them up to sourceN, and she goes to work π«Ά
β¨ OPTIONS β¨
Generic Options: π
--helpβ shows you all the available options (and if you're feeling nosy,--help-hiddenshows you even more π)--help-listβ prints out the list of available options (and yup,--help-list-hiddenexists for the extra secret ones π)--versionβ tells you the version of this program, because knowing things is self care π
clang-reorder-fields options: π
--extra-arg=<string>β an extra argument to append to the compiler command line π§--extra-arg-before=<string>β same energy, but this one gets prepended to the compiler command line instead πΈ--fields-order=<string>β the desired fields order. the vision. the blueprint. the whole point β¨-iβ overwrite edited files. yes, that means she edits them IN PLACE, so be brave π«‘-p <string>β build path ποΈ--record-name=<string>β the name of the struct/class π·οΈ
that's the whole page bestie, go forth and reorder responsibly π¦
with love from clang-reorder-fields 16, dated October 2023 β user commands, but make it cute πβ¨
π¦ where this page comes from
- debian bookworm: clang-tools-16 1:16.0.6-15~deb12u1 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms