TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 2 Jun 2020 09:51:50 +0000 (10:51 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 2 Jun 2020 10:06:10 +0000 (11:06 +0100)
llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h

index 2a45bb8..109ac8e 100644 (file)
@@ -9,9 +9,11 @@
 #ifndef LLVM_TEXTAPI_MACHO_WRITER_H
 #define LLVM_TEXTAPI_MACHO_WRITER_H
 
-#include "llvm/Support/MemoryBuffer.h"
-
 namespace llvm {
+
+class Error;
+class raw_ostream;
+
 namespace MachO {
 
 class InterfaceFile;