diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-12-22 10:24:43 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-12-22 10:24:43 +0000 |
commit | 772192cf36edeaed9366382914f820e1d81c605a (patch) | |
tree | 2707acfef67003c5e7bf13dbeaf9489bdeab0525 /lib/Support/FileUtilities.cpp | |
parent | 24042367952e852f8412bd2d1b8e1e6b90a8d26b (diff) | |
download | external_llvm-772192cf36edeaed9366382914f820e1d81c605a.zip external_llvm-772192cf36edeaed9366382914f820e1d81c605a.tar.gz external_llvm-772192cf36edeaed9366382914f820e1d81c605a.tar.bz2 |
For PR351:
Move non-portable FDHandle class to its only user: lib/Debugger
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/FileUtilities.cpp')
-rw-r--r-- | lib/Support/FileUtilities.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/Support/FileUtilities.cpp b/lib/Support/FileUtilities.cpp index 8f4917b..5255df6 100644 --- a/lib/Support/FileUtilities.cpp +++ b/lib/Support/FileUtilities.cpp @@ -63,17 +63,3 @@ void llvm::MoveFileOverIfUpdated(const std::string &New, std::remove(New.c_str()); } } - -//===----------------------------------------------------------------------===// -// FDHandle class implementation -// - -FDHandle::~FDHandle() throw() { - if (FD != -1) close(FD); -} - -FDHandle &FDHandle::operator=(int fd) throw() { - if (FD != -1) close(FD); - FD = fd; - return *this; -} |