CLANG-RENAME(1)
β¨ NAME β¨
clang-rename β the manual page for clang-rename 13, bestie π
π¦ DESCRIPTION π¦
okay so here's the whole vibe. you run it like this, no cap:
USAGE: clang-rename [options] <source0> [... <sourceN>]
then it just... gives you OPTIONS. and there are so many options. we're going through every single one, don't worry πΈ
π Generic Options π
these are the universal besties, every LLVM tool has them:
--helpβ shows you all the options you can actually use (and if you want the hidden ones too, hit up--help-hiddenπ)--help-listβ prints out the list of available options (and yeah,--help-list-hiddenexists if you're feeling nosy)--versionβ tells you what version of this program you're running. icon behavior honestly
π clang-rename common options π
this is the main character section, the whole reason you're here:
--export-fixes=<filename>β drops all the suggested fixes into a YAML file with this name. your edits, but written down π--extra-arg=<string>β one more argument, appended to the end of the compiler command line--extra-arg-before=<string>β one more argument, but prepended to the front of the compiler command line. yes the order matters, that's the whole point bestie--forceβ tells it to just ignore qualified names that don't exist. chaotic, but sometimes you need it π-iβ overwrites the edited<file>s. like, in place. be careful, no undo button π«Ά--input=<string>β a YAML file to load your oldname-newname pairs from--new-name=<string>β the fresh new name you want the symbol changed to β¨--offset=<uint>β finds the symbol by offset instead of by<line>:<column>. different route, same destination-p=<string>β the build path--plβ prints the locations that get affected by the rename out tostderr--pnβ prints the found symbol's name before the renaming happens, out tostderr--qualified-name=<string>β the fully qualified name of the symbol, i.e. the whole entire government name π
ngl that's genuinely the whole page. every flag accounted for, we left nothing behind π
that's a wrap, babe β this was the manual page for clang-rename 13, dated July 2023 π¦ go rename something and slay β¨
π¦ where this page comes from
- ubuntu jammy: clang-tools-13 1:13.0.1-2ubuntu2.2 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms