15 #ifndef LLVM_CLANG_TOOLING_REFACTOR_RENAME_RENAMING_ACTION_H
16 #define LLVM_CLANG_TOOLING_REFACTOR_RENAME_RENAMING_ACTION_H
22 class CompilerInstance;
29 const std::vector<std::string> &PrevNames,
30 const std::vector<std::vector<std::string>> &USRList,
31 std::map<std::string, tooling::Replacements> &FileToReplaces,
32 bool PrintLocations =
false)
33 : NewNames(NewNames), PrevNames(PrevNames), USRList(USRList),
34 FileToReplaces(FileToReplaces), PrintLocations(PrintLocations) {}
39 const std::vector<std::string> &NewNames, &PrevNames;
40 const std::vector<std::vector<std::string>> &USRList;
41 std::map<std::string, tooling::Replacements> &FileToReplaces;
49 const std::vector<std::string> &NewNames,
50 const std::vector<std::vector<std::string>> &USRList,
51 std::map<std::string, tooling::Replacements> &FileToReplaces)
52 : NewNames(NewNames), USRList(USRList), FileToReplaces(FileToReplaces) {}
58 const std::vector<std::string> &NewNames;
61 const std::vector<std::vector<std::string>> &USRList;
64 std::map<std::string, tooling::Replacements> &FileToReplaces;
70 #endif // LLVM_CLANG_TOOLING_REFACTOR_RENAME_RENAMING_ACTION_H