r241782 - Revert r241770 and add Basic to the dependencies of clang-check instead.
Adrian Prantl
aprantl at apple.com
Wed Jul 8 19:53:06 PDT 2015
Author: adrian
Date: Wed Jul 8 21:53:05 2015
New Revision: 241782
URL: http://llvm.org/viewvc/llvm-project?rev=241782&view=rev
Log:
Revert r241770 and add Basic to the dependencies of clang-check instead.
PR24067.
Modified:
cfe/trunk/lib/Basic/FileManager.cpp
cfe/trunk/lib/Frontend/PCHContainerOperations.cpp
cfe/trunk/tools/clang-check/CMakeLists.txt
Modified: cfe/trunk/lib/Basic/FileManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/FileManager.cpp?rev=241782&r1=241781&r2=241782&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/FileManager.cpp (original)
+++ cfe/trunk/lib/Basic/FileManager.cpp Wed Jul 8 21:53:05 2015
@@ -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() {}
Modified: cfe/trunk/lib/Frontend/PCHContainerOperations.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PCHContainerOperations.cpp?rev=241782&r1=241781&r2=241782&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/PCHContainerOperations.cpp (original)
+++ cfe/trunk/lib/Frontend/PCHContainerOperations.cpp Wed Jul 8 21:53:05 2015
@@ -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::ExtractP
StreamFile.init((const unsigned char *)Buffer.getBufferStart(),
(const unsigned char *)Buffer.getBufferEnd());
}
-
Modified: cfe/trunk/tools/clang-check/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-check/CMakeLists.txt?rev=241782&r1=241781&r2=241782&view=diff
==============================================================================
--- cfe/trunk/tools/clang-check/CMakeLists.txt (original)
+++ cfe/trunk/tools/clang-check/CMakeLists.txt Wed Jul 8 21:53:05 2015
@@ -10,6 +10,7 @@ add_clang_executable(clang-check
target_link_libraries(clang-check
clangAST
+ clangBasic
clangCodeGen
clangDriver
clangFrontend
More information about the cfe-commits
mailing list