[PATCH] D21676: clang-rename: add a -export-fixes option

Miklos Vajna via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 28 05:24:32 PDT 2016


vmiklos added a comment.

Something related: currently in case multiple symbols is to be renamed in the same translation unit, clang-rename has to be invoked multiple times. This is problematic from a performance point of view, in case the symbols are in common headers of a codebase (and clang-rename is invoked for each translation unit). Would a patch that allows multiple renames to be performed with one invocation be welcome? E.g. initially via the -offset + -new-name options (let's say using `,` as separator), but later it would be probably more friendly to allow an input YAML file that describes what symbols should be renamed to what new names.


Repository:
  rL LLVM

http://reviews.llvm.org/D21676





More information about the cfe-commits mailing list