CLANG-REORDER-FIELDS(1)
β¨ NAME β¨
clang-reorder-fields β bestie, it's the manual page for clang-reorder-fields 14, and yes she's here to rearrange the fields in your C/C++ structs and classes like she's redecorating her room π
π DESCRIPTION π
OVERVIEW: a whole tool whose entire job is reordering fields in C/C++ structs and classes. that's it. that's the girl. she does one thing and she ate. π₯
USAGE:
clang-reorder-fields [options] <source0> [... <sourceN>]
OPTIONS:
πΈ Generic Options πΈ
--helpβ shows you all the available options (and if you pass--help-hiddenyou get even more, because there's always more π)--help-listβ displays a list of the available options (and--help-list-hiddenfor even more, same energy as above)--versionβ shows you the version of this program, so you can flex
π¦ clang-reorder-fields options π¦
--extra-arg=<string>β an additional argument to append to the compiler command line, like adding a lil something extra at the end π«Ά--extra-arg-before=<string>β an additional argument to prepend to the compiler command line, so it goes at the front, main character entrance energy π--fields-order=<string>β the desired fields order. literally what you want the fields to be ordered as. that's the whole point bestie π-iβ overwrite edited files. no cap, it goes in and edits them in place π-p=<string>β build path--record-name=<string>β the name of the struct/class you're messing with
ngl, -i overwriting your files means it's touching your actual source. so maybe know what you're doing before you let her cook π
and that's the whole page, periodt. this was clang-reorder-fields 14, from May 2025 β ty for coming to my ted talk, mwah ππβ
π¦ where this page comes from
- ubuntu questing: clang-tools-14 1:14.0.6-20ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms