For PR351:

* Remove the "removeFile" function, now implemented by the
  sys::Path::destroyFile method.
* Make the FileRemove work with a sys::Path instead of a std::string


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2004-12-16 23:00:05 +00:00
parent 10ce496201
commit a2f7ed7035
2 changed files with 5 additions and 15 deletions

View File

@ -64,13 +64,6 @@ void llvm::MoveFileOverIfUpdated(const std::string &New,
}
}
/// removeFile - Delete the specified file
///
void llvm::removeFile(const std::string &Filename) {
std::remove(Filename.c_str());
}
//===----------------------------------------------------------------------===//
// FDHandle class implementation
//