diff --git a/lib/Basic/FileManager.cpp b/lib/Basic/FileManager.cpp index cb3f75c25a0b33bd02ca7ab3c66d1f318a048327..ba016db011ee63cf2c56fa525090d0d893ce8fc2 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/ADT/STLExtras.h" @@ -564,7 +563,3 @@ void FileManager::PrintStats() const { //llvm::errs() << PagesMapped << BytesOfPagesMapped << FSLookups; } - -// Virtual destructors for abstract base classes that need live in Basic. -PCHContainerWriter::~PCHContainerWriter() {} -PCHContainerReader::~PCHContainerReader() {} diff --git a/lib/Frontend/PCHContainerOperations.cpp b/lib/Frontend/PCHContainerOperations.cpp index 5e1d7720509872c12067c7ccdf6eefec26e47af0..fd84678b80831edde18eb47ef822a3a4839f5cea 100644 --- a/lib/Frontend/PCHContainerOperations.cpp +++ b/lib/Frontend/PCHContainerOperations.cpp @@ -19,6 +19,9 @@ using namespace clang; +PCHContainerWriter::~PCHContainerWriter() {} +PCHContainerReader::~PCHContainerReader() {} + namespace { /// \brief A PCHContainerGenerator that writes out the PCH to a flat file.