ArchitectureSet.h - reduce raw_ostream.h include to forward declaration. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 30 May 2020 11:36:16 +0000 (12:36 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 30 May 2020 11:36:16 +0000 (12:36 +0100)
Move raw_ostream.h include to ArchitectureSet.cpp.

llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h
llvm/lib/TextAPI/MachO/ArchitectureSet.cpp

index 6e4ede6..e3a8dad 100644 (file)
 #ifndef LLVM_TEXTAPI_MACHO_ARCHITECTURE_SET_H
 #define LLVM_TEXTAPI_MACHO_ARCHITECTURE_SET_H
 
-#include "llvm/Support/raw_ostream.h"
 #include "llvm/TextAPI/MachO/Architecture.h"
 #include <cstddef>
 #include <iterator>
 #include <limits>
+#include <string>
 #include <vector>
 
 namespace llvm {
+class raw_ostream;
+
 namespace MachO {
 
 class ArchitectureSet {
index a05d3eb..f665706 100644 (file)
@@ -11,6 +11,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/TextAPI/MachO/ArchitectureSet.h"
+#include "llvm/Support/raw_ostream.h"
 
 namespace llvm {
 namespace MachO {