diff options
Diffstat (limited to 'clang-tools-extra/clang-rename/RenamingAction.h')
| -rw-r--r-- | clang-tools-extra/clang-rename/RenamingAction.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/clang-tools-extra/clang-rename/RenamingAction.h b/clang-tools-extra/clang-rename/RenamingAction.h index 2495e472bfe..dd46aefa5d3 100644 --- a/clang-tools-extra/clang-rename/RenamingAction.h +++ b/clang-tools-extra/clang-rename/RenamingAction.h @@ -25,18 +25,19 @@ namespace rename { class RenamingAction { public: - RenamingAction(const std::string &NewName, const std::string &PrevName, - const std::vector<std::string> &USRs, + RenamingAction(const std::vector<std::string> &NewNames, + const std::vector<std::string> &PrevNames, + const std::vector<std::vector<std::string>> &USRList, std::map<std::string, tooling::Replacements> &FileToReplaces, bool PrintLocations = false) - : NewName(NewName), PrevName(PrevName), USRs(USRs), + : NewNames(NewNames), PrevNames(PrevNames), USRList(USRList), FileToReplaces(FileToReplaces), PrintLocations(PrintLocations) {} std::unique_ptr<ASTConsumer> newASTConsumer(); private: - const std::string &NewName, &PrevName; - const std::vector<std::string> &USRs; + const std::vector<std::string> &NewNames, &PrevNames; + const std::vector<std::vector<std::string>> &USRList; std::map<std::string, tooling::Replacements> &FileToReplaces; bool PrintLocations; }; |

