Existing tools in clang-tools-extra • clang-apply-replacements • clang-format • clang-include-fixer • clang-rename • clang-tidy … and this is not the complete list
Own tools in dev-tools.git • Analyzer example: find-unused-prefixes • m_nFooBar in core.git • _fooBar in online.git • FooBar in online.git for statics • Rewriter example: rename • Works from a CSV file • Generated from… wait for it… find-unused- prefixes • Obsoleted by clang-rename now
Editor support via libclang • YouCompleteMe, libclang-vim • Precise: • Inspect comment • Jump to declaration • Get (member) function name • Referenced (member) function name • Jump to include • Rename • Infer auto • Autocomplete