summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Serialization/InMemoryModuleCache.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/clang/include/clang/Serialization/InMemoryModuleCache.h b/clang/include/clang/Serialization/InMemoryModuleCache.h
index 6d31e46b24a..7b5b5c1cf1b 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 <memory>
-namespace llvm {
-class MemoryBuffer;
-} // end namespace llvm
-
namespace clang {
/// In-memory cache for modules.
OpenPOWER on IntegriCloud