From d1765cf1974bdf298d7cec8302013f314a70a032 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sat, 30 May 2020 12:36:16 +0100 Subject: [PATCH] ArchitectureSet.h - reduce raw_ostream.h include to forward declaration. NFC. Move raw_ostream.h include to ArchitectureSet.cpp. --- llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h | 4 +++- llvm/lib/TextAPI/MachO/ArchitectureSet.cpp | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h b/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h index 6e4ede6..e3a8dad 100644 --- a/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h +++ b/llvm/include/llvm/TextAPI/MachO/ArchitectureSet.h @@ -13,14 +13,16 @@ #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 #include #include +#include #include namespace llvm { +class raw_ostream; + namespace MachO { class ArchitectureSet { diff --git a/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp b/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp index a05d3eb..f665706 100644 --- a/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp +++ b/llvm/lib/TextAPI/MachO/ArchitectureSet.cpp @@ -11,6 +11,7 @@ //===----------------------------------------------------------------------===// #include "llvm/TextAPI/MachO/ArchitectureSet.h" +#include "llvm/Support/raw_ostream.h" namespace llvm { namespace MachO { -- 2.7.4