[PATCH] D23651: [clang-rename] improve performance for rename-all
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 18 05:08:25 PDT 2016
omtcyfz marked an inline comment as done.
================
Comment at: clang-rename/USRFindingAction.h:38-41
@@ -37,6 +37,6 @@
private:
- unsigned SymbolOffset;
- std::string OldName;
- std::string SpellingName;
- std::vector<std::string> USRs;
+ const std::vector<unsigned> &SymbolOffsets;
+ const std::vector<std::string> &OldNames;
+ std::vector<std::string> SpellingNames;
+ std::vector<std::vector<std::string>> USRList;
};
----------------
Aw, you're right. Good catch, thanks!
https://reviews.llvm.org/D23651
More information about the cfe-commits
mailing list