Remove unused sys/stat.h includes
authorAlp Toker <alp@nuanti.com>
Mon, 7 Jul 2014 08:37:15 +0000 (08:37 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 7 Jul 2014 08:37:15 +0000 (08:37 +0000)
The facility was abstracted to LLVM in r187364.

llvm-svn: 212441

clang/include/clang/Basic/FileSystemStatCache.h
clang/include/clang/Serialization/ASTReader.h
clang/lib/Basic/FileManager.cpp
clang/lib/Basic/SourceManager.cpp
clang/lib/Driver/Compilation.cpp
clang/lib/Driver/Tools.cpp
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Serialization/ASTReaderInternals.h

index af25356..e916cef 100644 (file)
@@ -19,8 +19,6 @@
 #include "llvm/ADT/StringMap.h"
 #include "llvm/Support/FileSystem.h"
 #include <memory>
-#include <sys/stat.h>
-#include <sys/types.h>
 
 namespace clang {
 
index 620d86e..0698b98 100644 (file)
@@ -46,7 +46,6 @@
 #include <map>
 #include <memory>
 #include <string>
-#include <sys/stat.h>
 #include <utility>
 #include <vector>
 
index 17622c7..1faa370 100644 (file)
@@ -32,9 +32,6 @@
 
 using namespace clang;
 
-// FIXME: Enhance libsystem to support inode and other fields.
-#include <sys/stat.h>
-
 /// NON_EXISTENT_DIR - A special value distinct from null that is used to
 /// represent a dir name that doesn't exist on the disk.
 #define NON_EXISTENT_DIR reinterpret_cast<DirectoryEntry*>((intptr_t)-1)
index 5d36f6c..61dfe35 100644 (file)
@@ -26,7 +26,6 @@
 #include <algorithm>
 #include <cstring>
 #include <string>
-#include <sys/stat.h>
 
 using namespace clang;
 using namespace SrcMgr;
index 8244875..49b7edd 100644 (file)
@@ -17,8 +17,6 @@
 #include "llvm/Option/ArgList.h"
 #include "llvm/Support/FileSystem.h"
 #include "llvm/Support/raw_ostream.h"
-#include <errno.h>
-#include <sys/stat.h>
 
 using namespace clang::driver;
 using namespace clang;
index acb16bf..0d601a6 100644 (file)
@@ -38,7 +38,6 @@
 #include "llvm/Support/Process.h"
 #include "llvm/Support/Program.h"
 #include "llvm/Support/raw_ostream.h"
-#include <sys/stat.h>
 
 using namespace clang::driver;
 using namespace clang::driver::tools;
index 023794b..fc44d9f 100644 (file)
@@ -47,7 +47,6 @@
 #include <atomic>
 #include <cstdio>
 #include <cstdlib>
-#include <sys/stat.h>
 using namespace clang;
 
 using llvm::TimeRecord;
index 9f2065e..a63e362 100644 (file)
@@ -17,7 +17,6 @@
 #include "clang/Serialization/ASTBitCodes.h"
 #include "llvm/Support/Endian.h"
 #include "llvm/Support/OnDiskHashTable.h"
-#include <sys/stat.h>
 #include <utility>
 
 namespace clang {