Give FileRemover a default constructor to allow FileRemovers to be created
and initialized separately. llvm-svn: 99717
This commit is contained in:
parent
99ac24d1e3
commit
8c172a51d8
|
@ -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) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue