diff options
author | Alp Toker <alp@nuanti.com> | 2014-07-07 08:37:15 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-07-07 08:37:15 +0000 |
commit | 221285bde795a54552cabeb77a20a092a185b80b (patch) | |
tree | bd44ebad68666732d9d4f6d39ae3d8f96a4bf19d /clang/lib | |
parent | 037f77092e0ed6f69b8be6246e4037e8a312db7a (diff) | |
download | bcm5719-llvm-221285bde795a54552cabeb77a20a092a185b80b.tar.gz bcm5719-llvm-221285bde795a54552cabeb77a20a092a185b80b.zip |
Remove unused sys/stat.h includes
The facility was abstracted to LLVM in r187364.
llvm-svn: 212441
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/Basic/FileManager.cpp | 3 | ||||
-rw-r--r-- | clang/lib/Basic/SourceManager.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Driver/Compilation.cpp | 2 | ||||
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Frontend/ASTUnit.cpp | 1 | ||||
-rw-r--r-- | clang/lib/Serialization/ASTReaderInternals.h | 1 |
6 files changed, 0 insertions, 9 deletions
diff --git a/clang/lib/Basic/FileManager.cpp b/clang/lib/Basic/FileManager.cpp index 17622c7e13f..1faa370e82b 100644 --- a/clang/lib/Basic/FileManager.cpp +++ b/clang/lib/Basic/FileManager.cpp @@ -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) diff --git a/clang/lib/Basic/SourceManager.cpp b/clang/lib/Basic/SourceManager.cpp index 5d36f6c8a04..61dfe35e225 100644 --- a/clang/lib/Basic/SourceManager.cpp +++ b/clang/lib/Basic/SourceManager.cpp @@ -26,7 +26,6 @@ #include <algorithm> #include <cstring> #include <string> -#include <sys/stat.h> using namespace clang; using namespace SrcMgr; diff --git a/clang/lib/Driver/Compilation.cpp b/clang/lib/Driver/Compilation.cpp index 8244875c7be..49b7edd9665 100644 --- a/clang/lib/Driver/Compilation.cpp +++ b/clang/lib/Driver/Compilation.cpp @@ -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; diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index acb16bf842b..0d601a6bcdf 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -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; diff --git a/clang/lib/Frontend/ASTUnit.cpp b/clang/lib/Frontend/ASTUnit.cpp index 023794b616e..fc44d9f1b4c 100644 --- a/clang/lib/Frontend/ASTUnit.cpp +++ b/clang/lib/Frontend/ASTUnit.cpp @@ -47,7 +47,6 @@ #include <atomic> #include <cstdio> #include <cstdlib> -#include <sys/stat.h> using namespace clang; using llvm::TimeRecord; diff --git a/clang/lib/Serialization/ASTReaderInternals.h b/clang/lib/Serialization/ASTReaderInternals.h index 9f2065e9fad..a63e362eb64 100644 --- a/clang/lib/Serialization/ASTReaderInternals.h +++ b/clang/lib/Serialization/ASTReaderInternals.h @@ -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 { |