CLANG-REORDER-FIELDS(1)
β¨ CLANG-REORDER-FIELDS β¨
okay bestie, so this is the manual page for clang-reorder-fields 17 β yes, the iconic little tool that rearranges the fields in your C/C++ structs and classes so they finally look the way you always imagined π
π¦ DESCRIPTION π¦
OVERVIEW: it's giving... a tool to reorder fields in C/C++ structs/classes. that's the whole vibe. no cap. πΈ
USAGE:
clang-reorder-fields [options] <source0> [... <sourceN>]
OPTIONS: (the good stuff, keep scrolling π)
π Generic Options π
--helpβ shows you all the available options (--help-hiddenif you wanna see even more, secret menu energy π₯)--help-listβ shows you the list of available options (--help-list-hiddenfor more, again with the hidden lore π)--versionβ shows you which version of this program you're running, main character reveal β
π clang-reorder-fields options π
--extra-arg=<string>β an extra argument to append to the compiler command line π«Ά--extra-arg-before=<string>β an extra argument to prepend to the compiler command line (notice it goes before, not after, we love a distinction π)--fields-order=<string>β the desired fields order. literally just tell it the order you want, periodt.-iβ overwrite edited files. it edits them in place, no undo button, bestie, be so careful π-p <string>β build path π§--record-name=<string>β the name of the struct/class π
ngl -i will just go ahead and overwrite your edited files, so maybe vibe check your git status first, fr fr π
and that's the whole page, you ate it π this was clang-reorder-fields 17, dated June 2025 β slay, bye, go reorder some fields πβ¨π¦
π¦ where this page comes from
- debian trixie: clang-tools-17 1:17.0.6-22+b2 Β· APACHE-2-LLVM-EXCEPTIONS
- ubuntu questing: clang-tools-17 1:17.0.6-22build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms