summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-07-09 01:01:52 +0000
committerAdrian Prantl <aprantl@apple.com>2015-07-09 01:01:52 +0000
commit63350578243214a461e7ead5d37240bcb103df37 (patch)
treefd46278036e57feefa24a5e6fbc928c35d4a0bc0 /clang/lib
parentd1f169b744b14aaeaca7e7b254ee34e80b037254 (diff)
downloadbcm5719-llvm-63350578243214a461e7ead5d37240bcb103df37.tar.gz
bcm5719-llvm-63350578243214a461e7ead5d37240bcb103df37.zip
Move the definition of ~PCHContainerOperations from Basic into Frontend.
Fixes PR24067. llvm-svn: 241770
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 1a636aefa63..c46e2c7db38 100644
--- a/clang/lib/Basic/FileManager.cpp
+++ b/clang/lib/Basic/FileManager.cpp
@@ -19,7 +19,6 @@
#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"
@@ -586,5 +585,3 @@ 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 c749bb5c8db..6d6d3ff22db 100644
--- a/clang/lib/Frontend/PCHContainerOperations.cpp
+++ b/clang/lib/Frontend/PCHContainerOperations.cpp
@@ -18,6 +18,8 @@
#include "clang/Lex/ModuleLoader.h"
using namespace clang;
+PCHContainerOperations::~PCHContainerOperations() {}
+
namespace {
/// \brief A PCHContainerGenerator that writes out the PCH to a flat file.
@@ -66,3 +68,4 @@ void RawPCHContainerOperations::ExtractPCH(
StreamFile.init((const unsigned char *)Buffer.getBufferStart(),
(const unsigned char *)Buffer.getBufferEnd());
}
+
OpenPOWER on IntegriCloud