CLANG-REORDER-FIELDS(1)
π clang-reorder-fields(1) π
okay bestie, sit down, because today we're talking about clang-reorder-fields β that's the User Commands girlie, manual page and all. she reorders fields. that's it. that's her whole thing. and she EATS. π¦
β¨ NAME β¨
clang-reorder-fields β literally the manual page for clang-reorder-fields 15. no notes. π
πΈ DESCRIPTION πΈ
π OVERVIEW
it's a tool to reorder fields in C/C++ structs/classes. that's the vibe. that's the assignment. π
π«Ά USAGE
clang-reorder-fields [options] <source0> [... <sourceN>]
so you pass in your options, then one or more source files. <source0> up through <sourceN>, bestie β as many as you need. β¨
π₯ OPTIONS
π Generic Options
--helpβ displays the available options. and if you want the hidden ones too?--help-hiddenfor more. iykyk. π--help-listβ displays a list of the available options. and yes, there's a--help-list-hiddenfor more. π--versionβ displays the version of this program. iconic. β
π clang-reorder-fields options
--extra-arg=<string>β an additional argument to append to the compiler command line. extra seasoning at the end, if you will. π--extra-arg-before=<string>β an additional argument to prepend to the compiler command line. same energy, but it goes FIRST. main character placement. π--fields-order=<string>β the desired fields order. this is the whole point of the operation, no cap. β¨-iβ overwrite edited files. yes, it edits your files in place, so maybe take a lil breath before you hit enter. π-p <string>β build path. that's it, that's the description. πΈ--record-name=<string>β the name of the struct/class. tell her WHICH one you're messing with. π
fr fr, that's every single option. i did not skip one. i would never do that to you. π«Ά
that's the whole page, bestie β brought to you by clang-reorder-fields 15, dated July 2023, and also somehow by CLANG-REORDER-FIELDS(1) twice because the header and footer both said so. slay. go reorder some fields. πβ¨π
π¦ where this page comes from
- ubuntu jammy: clang-tools-15 1:15.0.7-0ubuntu0.22.04.3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms