[llvm] 0467eb2 - Replace forward declaration by actual declaration of MemoryBuffer in Object/Binary.h

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 12 12:55:13 PST 2022


Author: serge-sans-paille
Date: 2022-03-12T21:53:14+01:00
New Revision: 0467eb2cb7654c15ae366967ef35093c5724c416

URL: https://github.com/llvm/llvm-project/commit/0467eb2cb7654c15ae366967ef35093c5724c416
DIFF: https://github.com/llvm/llvm-project/commit/0467eb2cb7654c15ae366967ef35093c5724c416.diff

LOG: Replace forward declaration by actual declaration of MemoryBuffer in Object/Binary.h

This is a partial undo of ed98c1b37661b0795a5e34517941485f0f0688d1, see
https://lab.llvm.org/buildbot#builders/37/builds/11529
for the actual error.

Added: 
    

Modified: 
    llvm/include/llvm/Object/Binary.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Object/Binary.h b/llvm/include/llvm/Object/Binary.h
index 3c2d9ea013c64..b496956fc2123 100644
--- a/llvm/include/llvm/Object/Binary.h
+++ b/llvm/include/llvm/Object/Binary.h
@@ -18,13 +18,12 @@
 #include "llvm/Object/Error.h"
 #include "llvm/Support/CBindingWrapping.h"
 #include "llvm/Support/Error.h"
-#include "llvm/Support/MemoryBufferRef.h"
+#include "llvm/Support/MemoryBuffer.h"
 #include <memory>
 #include <utility>
 
 namespace llvm {
 
-class MemoryBuffer;
 class LLVMContext;
 class StringRef;
 


        


More information about the llvm-commits mailing list