I don't have a problem with making this a clang-tidy module, but it was (also) meant as an example of how to write a refactoring tool. http://reviews.llvm.org/D7318 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/