Give FileRemover a default constructor to allow FileRemovers to be created
authorDan Gohman <gohman@apple.com>
Sat, 27 Mar 2010 16:39:56 +0000 (16:39 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 27 Mar 2010 16:39:56 +0000 (16:39 +0000)
and initialized separately.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99717 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/FileUtilities.h

index cc8f95372b1198fd69721b2488351af37ca06bba..b535209d36cd5b3460ef0d96aee45a134b353d02 100644 (file)
@@ -40,6 +40,8 @@ namespace llvm {
     sys::Path Filename;
     bool DeleteIt;
   public:
+    FileRemover() : DeleteIt(false) {}
+
     explicit FileRemover(const sys::Path &filename, bool deleteIt = true)
       : Filename(filename), DeleteIt(deleteIt) {}