Author: d0k
Date: Mon Mar 11 03:30:51 2019
New Revision: 355816

URL: http://llvm.org/viewvc/llvm-project?rev=355816&view=rev
Log:
[Serialization] Add missing include

forward decl is not sufficient for destroying a unique_ptr<MemoryBuffer>.

Modified:
    cfe/trunk/include/clang/Serialization/InMemoryModuleCache.h

Modified: cfe/trunk/include/clang/Serialization/InMemoryModuleCache.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Serialization/InMemoryModuleCache.h?rev=355816&r1=355815&r2=355816&view=diff
==============================================================================
--- cfe/trunk/include/clang/Serialization/InMemoryModuleCache.h (original)
+++ cfe/trunk/include/clang/Serialization/InMemoryModuleCache.h Mon Mar 11 
03:30:51 2019
@@ -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.


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to