[cfe-commits] r67253 - /cfe/trunk/lib/Driver/Driver.cpp

Daniel Dunbar daniel at zuster.org
Wed Mar 18 16:08:54 PDT 2009


Author: ddunbar
Date: Wed Mar 18 18:08:52 2009
New Revision: 67253

URL: http://llvm.org/viewvc/llvm-project?rev=67253&view=rev
Log:
Driver: Delete the temporary files llvm::sys::Path::makeUnique
sometimes leaves around.

Modified:
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=67253&r1=67252&r2=67253&view=diff

==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Wed Mar 18 18:08:52 2009
@@ -898,6 +898,10 @@
     return "";
   }
 
+  // FIXME: Grumble, makeUnique sometimes leaves the file around!?
+  // PR3837.
+  P.eraseFromDisk(false, 0);
+
   P.appendSuffix(Suffix);
   return P.toString();
 }





More information about the cfe-commits mailing list