[llvm] 0fc1f2b - ObjectCache.h - replace unnecessary MemoryBuffer.h include with forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 05:16:48 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-19T13:12:41+01:00
New Revision: 0fc1f2b7cdb1eabf36f5ede75e3cd4409ab7aedb

URL: https://github.com/llvm/llvm-project/commit/0fc1f2b7cdb1eabf36f5ede75e3cd4409ab7aedb
DIFF: https://github.com/llvm/llvm-project/commit/0fc1f2b7cdb1eabf36f5ede75e3cd4409ab7aedb.diff

LOG: ObjectCache.h - replace unnecessary MemoryBuffer.h include with forward declarations. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/ObjectCache.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/ObjectCache.h b/llvm/include/llvm/ExecutionEngine/ObjectCache.h
index 47e94f18a1c7..1c72ca39f7c1 100644
--- a/llvm/include/llvm/ExecutionEngine/ObjectCache.h
+++ b/llvm/include/llvm/ExecutionEngine/ObjectCache.h
@@ -9,11 +9,12 @@
 #ifndef LLVM_EXECUTIONENGINE_OBJECTCACHE_H
 #define LLVM_EXECUTIONENGINE_OBJECTCACHE_H
 
-#include "llvm/Support/MemoryBuffer.h"
 #include <memory>
 
 namespace llvm {
 
+class MemoryBuffer;
+class MemoryBufferRef;
 class Module;
 
 /// This is the base ObjectCache type which can be provided to an


        


More information about the llvm-commits mailing list