[llvm] f322f1a - TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 03:07:00 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-02T11:06:10+01:00
New Revision: f322f1a9ed65bb55528e8b8066572831ca26fe57

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

LOG: TextAPIWriter.h - reduce MemoryBuffer.h include to forward declarations. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h b/llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h
index 2a45bb86a332..109ac8e3c371 100644
--- a/llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h
+++ b/llvm/include/llvm/TextAPI/MachO/TextAPIWriter.h
@@ -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;


        


More information about the llvm-commits mailing list