From 9318db0fa1992dbfdcad543105b0e38a4df6efc9 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Mon, 11 Mar 2019 10:30:51 +0000 Subject: [PATCH] [Serialization] Add missing include forward decl is not sufficient for destroying a unique_ptr. llvm-svn: 355816 --- clang/include/clang/Serialization/InMemoryModuleCache.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/clang/include/clang/Serialization/InMemoryModuleCache.h b/clang/include/clang/Serialization/InMemoryModuleCache.h index 6d31e46b24ac..7b5b5c1cf1be 100644 --- a/clang/include/clang/Serialization/InMemoryModuleCache.h +++ b/clang/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 -namespace llvm { -class MemoryBuffer; -} // end namespace llvm - namespace clang { /// In-memory cache for modules.