]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259355 91177308-0d34-0410-b5e6-96231b3b80d8

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

index cb3f75c25a0b33bd02ca7ab3c66d1f318a048327..ba016db011ee63cf2c56fa525090d0d893ce8fc2 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 5e1d7720509872c12067c7ccdf6eefec26e47af0..fd84678b80831edde18eb47ef822a3a4839f5cea 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.