Revert r241770 and add Basic to the dependencies of clang-check instead.

PR24067.

llvm-svn: 241782
This commit is contained in:
Adrian Prantl 2015-07-09 02:53:05 +00:00
parent bfdf7dd176
commit 075bf567f9
3 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,7 @@
#include "clang/Basic/FileManager.h"
#include "clang/Basic/FileSystemStatCache.h"
#include "clang/Frontend/PCHContainerOperations.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/FileSystem.h"
@ -585,3 +586,5 @@ void FileManager::PrintStats() const {
//llvm::errs() << PagesMapped << BytesOfPagesMapped << FSLookups;
}
PCHContainerOperations::~PCHContainerOperations() {}

View File

@ -18,8 +18,6 @@
#include "clang/Lex/ModuleLoader.h"
using namespace clang;
PCHContainerOperations::~PCHContainerOperations() {}
namespace {
/// \brief A PCHContainerGenerator that writes out the PCH to a flat file.
@ -68,4 +66,3 @@ void RawPCHContainerOperations::ExtractPCH(
StreamFile.init((const unsigned char *)Buffer.getBufferStart(),
(const unsigned char *)Buffer.getBufferEnd());
}

View File

@ -10,6 +10,7 @@ add_clang_executable(clang-check
target_link_libraries(clang-check
clangAST
clangBasic
clangCodeGen
clangDriver
clangFrontend