14 #ifndef LLVM_CLANG_TOOLING_REFACTORING_RENAME_RENAMINGACTION_H
15 #define LLVM_CLANG_TOOLING_REFACTORING_RENAME_RENAMINGACTION_H
22 #include "llvm/Support/Error.h"
32 const std::vector<std::string> &PrevNames,
33 const std::vector<std::vector<std::string>> &USRList,
34 std::map<std::string, tooling::Replacements> &FileToReplaces,
35 bool PrintLocations =
false)
36 : NewNames(NewNames), PrevNames(PrevNames), USRList(USRList),
37 FileToReplaces(FileToReplaces), PrintLocations(PrintLocations) {}
42 const std::vector<std::string> &NewNames, &PrevNames;
43 const std::vector<std::vector<std::string>> &USRList;
44 std::map<std::string, tooling::Replacements> &FileToReplaces;
60 : ND(ND), NewName(std::move(NewName)) {}
80 : ND(ND), NewQualifiedName(std::move(NewQualifiedName)) {}
101 const std::vector<std::string> &NewNames,
102 const std::vector<std::vector<std::string>> &USRList,
103 std::map<std::string, tooling::Replacements> &FileToReplaces)
104 : NewNames(NewNames), USRList(USRList), FileToReplaces(FileToReplaces) {}
110 const std::vector<std::string> &NewNames;
113 const std::vector<std::vector<std::string>> &USRList;
116 std::map<std::string, tooling::Replacements> &FileToReplaces;
122 #endif // LLVM_CLANG_TOOLING_REFACTORING_RENAME_RENAMINGACTION_H