llvm.org GIT mirror llvm / a5d0501
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 Dan Gohman 10 years ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
3939 sys::Path Filename;
4040 bool DeleteIt;
4141 public:
42 FileRemover() : DeleteIt(false) {}
43
4244 explicit FileRemover(const sys::Path &filename, bool deleteIt = true)
4345 : Filename(filename), DeleteIt(deleteIt) {}
4446