llvm::sys::DontRemoveFileOnSignal should not push_back Filename

Yaron Keren yaron.keren at gmail.com
Sun Apr 12 07:08:37 PDT 2015


Copy & paste error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150412/3adeaf07/attachment.html>
-------------- next part --------------
Index: lib/Support/Windows/Signals.inc
===================================================================
--- lib/Support/Windows/Signals.inc	(revision 234704)
+++ lib/Support/Windows/Signals.inc	(working copy)
@@ -359,7 +359,6 @@
 
   RegisterHandler();
 
-  FilesToRemove->push_back(Filename);
   std::vector<std::string>::reverse_iterator I =
   std::find(FilesToRemove->rbegin(), FilesToRemove->rend(), Filename);
   if (I != FilesToRemove->rend())


More information about the llvm-commits mailing list