[llvm] c1e8554 - TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 03:07:02 PDT 2020
Author: Simon Pilgrim
Date: 2020-06-02T11:06:10+01:00
New Revision: c1e855479e4a2ca1f968360622d3b5c8100b97f5
URL: https://github.com/llvm/llvm-project/commit/c1e855479e4a2ca1f968360622d3b5c8100b97f5
DIFF: https://github.com/llvm/llvm-project/commit/c1e855479e4a2ca1f968360622d3b5c8100b97f5.diff
LOG: TextAPIReader.h - reduce MemoryBuffer.h include to forward declaration. NFC.
Added:
Modified:
llvm/include/llvm/TextAPI/MachO/TextAPIReader.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/TextAPI/MachO/TextAPIReader.h b/llvm/include/llvm/TextAPI/MachO/TextAPIReader.h
index c551f0454e8e..889b8aad0e9a 100644
--- a/llvm/include/llvm/TextAPI/MachO/TextAPIReader.h
+++ b/llvm/include/llvm/TextAPI/MachO/TextAPIReader.h
@@ -10,9 +10,11 @@
#define LLVM_TEXTAPI_MACHO_READER_H
#include "llvm/Support/Error.h"
-#include "llvm/Support/MemoryBuffer.h"
namespace llvm {
+
+class MemoryBufferRef;
+
namespace MachO {
class InterfaceFile;
More information about the llvm-commits
mailing list