summaryrefslogtreecommitdiffstats
path: root/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
commit16c0d996040fcd17a66e4a12416d830daad02fa7 (patch)
tree8aac36b94d9082be78ba652ef0a036d491caa55c /lib/Basic/FileSystemStatCache.cpp
parentaddc7c62d7c181179884998f6f3a8fad9525e081 (diff)
[cleanup] Remove some unused #ifdef's
This is all going through the VFS layer now, so there's nothing platform-specific here. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileSystemStatCache.cpp')
-rw-r--r--lib/Basic/FileSystemStatCache.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/Basic/FileSystemStatCache.cpp b/lib/Basic/FileSystemStatCache.cpp
index 83e42bdb84..187ea37e0c 100644
--- a/lib/Basic/FileSystemStatCache.cpp
+++ b/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,