Author: adrian Date: Wed Jul 8 20:01:52 2015 New Revision: 241770 URL: http://llvm.org/viewvc/llvm-project?rev=241770&view=rev Log: Move the definition of ~PCHContainerOperations from Basic into Frontend.
Fixes PR24067. Modified: cfe/trunk/lib/Basic/FileManager.cpp cfe/trunk/lib/Frontend/PCHContainerOperations.cpp Modified: cfe/trunk/lib/Basic/FileManager.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/FileManager.cpp?rev=241770&r1=241769&r2=241770&view=diff ============================================================================== --- cfe/trunk/lib/Basic/FileManager.cpp (original) +++ cfe/trunk/lib/Basic/FileManager.cpp Wed Jul 8 20:01:52 2015 @@ -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() {} Modified: cfe/trunk/lib/Frontend/PCHContainerOperations.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/PCHContainerOperations.cpp?rev=241770&r1=241769&r2=241770&view=diff ============================================================================== --- cfe/trunk/lib/Frontend/PCHContainerOperations.cpp (original) +++ cfe/trunk/lib/Frontend/PCHContainerOperations.cpp Wed Jul 8 20:01:52 2015 @@ -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::ExtractP StreamFile.init((const unsigned char *)Buffer.getBufferStart(), (const unsigned char *)Buffer.getBufferEnd()); } + _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits