diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-16 23:00:05 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-16 23:00:05 +0000 |
commit | a2f7ed7035b38a13c65c04fa3b626197bd9d360a (patch) | |
tree | 7a51cf798926cc56db20b1837358d7bea4fe6618 /lib/Support | |
parent | 10ce4962012e7085ca8847581f9445587682b718 (diff) | |
download | external_llvm-a2f7ed7035b38a13c65c04fa3b626197bd9d360a.zip external_llvm-a2f7ed7035b38a13c65c04fa3b626197bd9d360a.tar.gz external_llvm-a2f7ed7035b38a13c65c04fa3b626197bd9d360a.tar.bz2 |
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
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/FileUtilities.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp index b192466..8f4917b 100644 --- a/lib/Support/FileUtilities.cpp +++ b/lib/Support/FileUtilities.cpp @@ -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 // |