Remove the egregious PCHContainer layering hack that doesn't seem to be necessary...
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 1 Feb 2016 13:22:39 +0000 (13:22 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 1 Feb 2016 13:22:39 +0000 (13:22 +0000)
llvm-svn: 259355

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

index cb3f75c..ba016db 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/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() {}
index 5e1d772..fd84678 100644 (file)
@@ -19,6 +19,9 @@
 
 using namespace clang;
 
+PCHContainerWriter::~PCHContainerWriter() {}
+PCHContainerReader::~PCHContainerReader() {}
+
 namespace {
 
 /// \brief A PCHContainerGenerator that writes out the PCH to a flat file.