forked from OSchip/llvm-project
Revert r241770 and add Basic to the dependencies of clang-check instead.
PR24067. llvm-svn: 241782
This commit is contained in:
parent
bfdf7dd176
commit
075bf567f9
|
@ -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() {}
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ add_clang_executable(clang-check
|
|||
|
||||
target_link_libraries(clang-check
|
||||
clangAST
|
||||
clangBasic
|
||||
clangCodeGen
|
||||
clangDriver
|
||||
clangFrontend
|
||||
|
|
Loading…
Reference in New Issue