summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2019-03-11 10:30:51 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2019-03-11 10:30:51 +0000
commit0655652b87ee7956f211c6fac5cc5b76664a5117 (patch)
tree08473f28b5ffdfe726124bf2b587b524d202b15e
parent59f2009cd157fc96a0d558125405b98586cd83d2 (diff)
[Serialization] Add missing include
forward decl is not sufficient for destroying a unique_ptr<MemoryBuffer>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355816 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Serialization/InMemoryModuleCache.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/clang/Serialization/InMemoryModuleCache.h b/include/clang/Serialization/InMemoryModuleCache.h
index 6d31e46b24..7b5b5c1cf1 100644
--- a/include/clang/Serialization/InMemoryModuleCache.h
+++ b/include/clang/Serialization/InMemoryModuleCache.h
@@ -12,12 +12,9 @@
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringMap.h"
+#include "llvm/Support/MemoryBuffer.h"
#include <memory>
-namespace llvm {
-class MemoryBuffer;
-} // end namespace llvm
-
namespace clang {
/// In-memory cache for modules.