summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorSean Silva <chisophugis@gmail.com>2015-06-11 23:34:13 +0000
committerSean Silva <chisophugis@gmail.com>2015-06-11 23:34:13 +0000
commitb5aee61c3617b726245182b48df8ab573d75d1a9 (patch)
tree1dbd1b03aa481ebb3028476e5173ebb197cbe47f /clang/lib/Basic/FileSystemStatCache.cpp
parent9d268e178ec8101fa2a483e6cfc6ddb42c567ce9 (diff)
downloadbcm5719-llvm-b5aee61c3617b726245182b48df8ab573d75d1a9.tar.gz
bcm5719-llvm-b5aee61c3617b726245182b48df8ab573d75d1a9.zip
[cleanup] Remove some unused #ifdef's
This is all going through the VFS layer now, so there's nothing platform-specific here. llvm-svn: 239573
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
-rw-r--r--clang/lib/Basic/FileSystemStatCache.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/clang/lib/Basic/FileSystemStatCache.cpp b/clang/lib/Basic/FileSystemStatCache.cpp
index 83e42bdb848..187ea37e0c2 100644
--- a/clang/lib/Basic/FileSystemStatCache.cpp
+++ b/clang/lib/Basic/FileSystemStatCache.cpp
@@ -15,19 +15,8 @@
#include "clang/Basic/VirtualFileSystem.h"
#include "llvm/Support/Path.h"
-// FIXME: This is terrible, we need this for ::close.
-#if !defined(_MSC_VER) && !defined(__MINGW32__)
-#include <unistd.h>
-#include <sys/uio.h>
-#else
-#include <io.h>
-#endif
using namespace clang;
-#if defined(_MSC_VER)
-#define S_ISDIR(s) ((_S_IFDIR & s) !=0)
-#endif
-
void FileSystemStatCache::anchor() { }
static void copyStatusToFileData(const vfs::Status &Status,
OpenPOWER on IntegriCloud