summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/FileUtilities.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-12-16 23:00:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-12-16 23:00:05 +0000
commitea71e3c89b45311b14ca9bf7d9dac48be6138e55 (patch)
treeaeb71be89c1331de715a4c7335c624709c559e71 /llvm/lib/Support/FileUtilities.cpp
parent867783adc4d102a7a75415f6b99d51dd2607c716 (diff)
downloadbcm5719-llvm-ea71e3c89b45311b14ca9bf7d9dac48be6138e55.tar.gz
bcm5719-llvm-ea71e3c89b45311b14ca9bf7d9dac48be6138e55.zip
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.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Support/FileUtilities.cpp b/llvm/lib/Support/FileUtilities.cpp
index b1924662e43..8f4917bae9a 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
//
OpenPOWER on IntegriCloud