summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-07-09 02:53:05 +0000
committerAdrian Prantl <aprantl@apple.com>2015-07-09 02:53:05 +0000
commit075bf567f993a49e5b5babb88a57e50d6ee5d6cb (patch)
treea0ea2987a97f3f01a284275e037f0e1835d43729 /clang/lib
parentbfdf7dd176ab67264f4a7e02bb3bd8dee4979417 (diff)
downloadbcm5719-llvm-075bf567f993a49e5b5babb88a57e50d6ee5d6cb.tar.gz
bcm5719-llvm-075bf567f993a49e5b5babb88a57e50d6ee5d6cb.zip
Revert r241770 and add Basic to the dependencies of clang-check instead.
PR24067. llvm-svn: 241782
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Basic/FileManager.cpp3
-rw-r--r--clang/lib/Frontend/PCHContainerOperations.cpp3
2 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Basic/FileManager.cpp b/clang/lib/Basic/FileManager.cpp
index c46e2c7db38..1a636aefa63 100644
--- a/clang/lib/Basic/FileManager.cpp
+++ b/clang/lib/Basic/FileManager.cpp
@@ -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() {}
diff --git a/clang/lib/Frontend/PCHContainerOperations.cpp b/clang/lib/Frontend/PCHContainerOperations.cpp
index 6d6d3ff22db..c749bb5c8db 100644
--- a/clang/lib/Frontend/PCHContainerOperations.cpp
+++ b/clang/lib/Frontend/PCHContainerOperations.cpp
@@ -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());
}
-
OpenPOWER on IntegriCloud