mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
Give FileRemover a default constructor to allow FileRemovers to be created
and initialized separately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99717 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
92f5fccb4d
commit
a5d0501b59
@ -40,6 +40,8 @@ namespace llvm {
|
|||||||
sys::Path Filename;
|
sys::Path Filename;
|
||||||
bool DeleteIt;
|
bool DeleteIt;
|
||||||
public:
|
public:
|
||||||
|
FileRemover() : DeleteIt(false) {}
|
||||||
|
|
||||||
explicit FileRemover(const sys::Path &filename, bool deleteIt = true)
|
explicit FileRemover(const sys::Path &filename, bool deleteIt = true)
|
||||||
: Filename(filename), DeleteIt(deleteIt) {}
|
: Filename(filename), DeleteIt(deleteIt) {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user