From: Adrian Prantl Date: Thu, 9 Jul 2015 01:01:52 +0000 (+0000) Subject: Move the definition of ~PCHContainerOperations from Basic into Frontend. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a3d5107dc98c7a8a689fbe76768747de782a16e;p=clang Move the definition of ~PCHContainerOperations from Basic into Frontend. Fixes PR24067. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241770 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/FileManager.cpp b/lib/Basic/FileManager.cpp index 1a636aefa6..c46e2c7db3 100644 --- a/lib/Basic/FileManager.cpp +++ b/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/lib/Frontend/PCHContainerOperations.cpp b/lib/Frontend/PCHContainerOperations.cpp index c749bb5c8d..6d6d3ff22d 100644 --- a/lib/Frontend/PCHContainerOperations.cpp +++ b/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()); } +