[PATCH] D23651: [clang-rename] improve performance for rename-all

Kirill Bobyrev via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 19 02:51:31 PDT 2016


omtcyfz marked 2 inline comments as done.

================
Comment at: clang-rename/USRFindingAction.cpp:69
@@ -69,3 +68,3 @@
     }
-    USRs->insert(USRs->end(), USRSet.begin(), USRSet.end());
+    return std::vector<std::string>(USRSet.begin(), USRSet.end());
   }
----------------
Ah, sure. Sorry, didn't understand it at first.


https://reviews.llvm.org/D23651





More information about the cfe-commits mailing list