summaryrefslogtreecommitdiff
path: root/support/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-01 20:29:18 +0000
committerChris Lattner <sabre@nondot.org>2003-08-01 20:29:18 +0000
commit794a58ed197f082c96a1ea33fdb9c6d0a8f151d8 (patch)
tree4baed6288a2a0b0226d1a9a4ae4afb8608ec9fad /support/lib
parent4181a4fb4f4853869a0b97460f8bc4838aa0cc81 (diff)
downloadllvm-794a58ed197f082c96a1ea33fdb9c6d0a8f151d8.tar.gz
llvm-794a58ed197f082c96a1ea33fdb9c6d0a8f151d8.tar.bz2
llvm-794a58ed197f082c96a1ea33fdb9c6d0a8f151d8.tar.xz
Use the C++, more portable, deleter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/lib')
-rw-r--r--support/lib/Support/SystemUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/lib/Support/SystemUtils.cpp b/support/lib/Support/SystemUtils.cpp
index aca9e5a402..ec0bcb3296 100644
--- a/support/lib/Support/SystemUtils.cpp
+++ b/support/lib/Support/SystemUtils.cpp
@@ -20,7 +20,7 @@
/// removeFile - Delete the specified file
///
void removeFile(const std::string &Filename) {
- unlink(Filename.c_str());
+ std::remove(Filename.c_str());
}
/// getUniqueFilename - Return a filename with the specified prefix. If the