CLANG-REORDER-FIELDS(1)

πŸ“¦
version 15.0.7 Β· 3 versions
, in ubuntu jammy

πŸ’– 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-hidden for more. iykyk. πŸ™ˆ
  • --help-list β€” displays a list of the available options. and yes, there's a --help-list-hidden for 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