]> granicus.if.org Git - clang/commitdiff
Move the definition of ~PCHContainerOperations from Basic into Frontend.
authorAdrian Prantl <aprantl@apple.com>
Thu, 9 Jul 2015 01:01:52 +0000 (01:01 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 9 Jul 2015 01:01:52 +0000 (01:01 +0000)
Fixes PR24067.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241770 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/FileManager.cpp
lib/Frontend/PCHContainerOperations.cpp

index 1a636aefa6391cef41483271dbcae6e85b0be66d..c46e2c7db380823190a7f38b0006c6ae9a274396 100644 (file)
@@ -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() {}
index c749bb5c8db4089c1befcc1c315d025adc86d06f..6d6d3ff22db93cde0317d569613d6258d5236785 100644 (file)
@@ -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());
 }
+