[PATCH] D23651: [clang-rename] improve performance for rename-all
Alexander Shaposhnikov via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 19 03:16:24 PDT 2016
alexshap added inline comments.
================
Comment at: clang-rename/USRFindingAction.cpp:190
@@ -175,1 +189,3 @@
+ std::vector<std::string> NextUSRBunch = Finder.Find();
+ USRList.push_back(NextUSRBunch);
}
----------------
USRList.push_back(std::move(NextUSRBunch))
or (IMO even better)
USRList.push_back(Finder.Find());
https://reviews.llvm.org/D23651
More information about the cfe-commits
mailing list