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 | ea71e3c89b45311b14ca9bf7d9dac48be6138e55 (patch) | |
| tree | aeb71be89c1331de715a4c7335c624709c559e71 /llvm/lib/Support/FileUtilities.cpp | |
| parent | 867783adc4d102a7a75415f6b99d51dd2607c716 (diff) | |
| download | llvm-ea71e3c89b45311b14ca9bf7d9dac48be6138e55.zip llvm-ea71e3c89b45311b14ca9bf7d9dac48be6138e55.tar.gz llvm-ea71e3c89b45311b14ca9bf7d9dac48be6138e55.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
llvm-svn: 18999
Diffstat (limited to 'llvm/lib/Support/FileUtilities.cpp')
| -rw-r--r-- | llvm/lib/Support/FileUtilities.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp index b192466..8f4917b 100644 --- a/llvm/lib/Support/FileUtilities.cpp +++ b/llvm/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 // |
