]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212441 91177308-0d34-0410-b5e6-96231b3b80d8

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

index af2535661e5ad3b6fb9af6a3abc6d78d534e4fa7..e916cefba1261f83c55d044450090923033c99b9 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 620d86e15fc117127dd95f392ec382a1a98f0add..0698b98abbeddc568be61e57cb640fefd95cc87e 100644 (file)
@@ -46,7 +46,6 @@
 #include <map>
 #include <memory>
 #include <string>
-#include <sys/stat.h>
 #include <utility>
 #include <vector>
 
index 17622c7e13f0040c98b54eba40457e2ccb5ac50a..1faa370e82b39a7782767513cb16b71ef2ca52f4 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 5d36f6c8a0410e68a7464b4a8a37c36e0533a0c5..61dfe35e22579fb6df8ad4717af018b56aac7888 100644 (file)
@@ -26,7 +26,6 @@
 #include <algorithm>
 #include <cstring>
 #include <string>
-#include <sys/stat.h>
 
 using namespace clang;
 using namespace SrcMgr;
index 8244875c7be91cda9df041b71dd11c838ed6e9a2..49b7edd9665955029e12031b118fd95132dda276 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 acb16bf842bb83f3e5ba1954ab37c9174a60775a..0d601a6bcdf027b6de2c2d5205121eb30e6f41f8 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 023794b616ec5c8161c899d8e71fdf791650ed51..fc44d9f1b4c08863ea2160b9c5fe960192ee7d3e 100644 (file)
@@ -47,7 +47,6 @@
 #include <atomic>
 #include <cstdio>
 #include <cstdlib>
-#include <sys/stat.h>
 using namespace clang;
 
 using llvm::TimeRecord;
index 9f2065e9fad1041648edd6899bf6bad5f3bdfe63..a63e362eb64f03c05f589a1ff53b7821d7f516a2 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 {