[llvm] Forward-declare formatted_raw_ostream (NFC)
authorKazu Hirata <kazu@google.com>
Fri, 29 Jan 2021 06:21:12 +0000 (22:21 -0800)
committerKazu Hirata <kazu@google.com>
Fri, 29 Jan 2021 06:21:13 +0000 (22:21 -0800)
commit046cfb856517c6140d5e1c0989232e26d00b05b2
treecf2a0ee75b552bea08a7b2b03897fa3bb1d40735
parent078f30e04d1fcb5a05d8e340f3178f3478075541
[llvm] Forward-declare formatted_raw_ostream (NFC)

Various *TargetStreamer.h need formatted_raw_ostream but rely on a
forward declaration of formatted_raw_ostream in MCStreamer.h.  This
patch adds forward declarations right in *TargetStreamer.h.

While we are at it, this patch removes the one in MCStreamer.h, where
it is unnecessary.
llvm/include/llvm/MC/MCStreamer.h
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
llvm/lib/Target/Mips/MipsTargetStreamer.h
llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h
llvm/lib/Target/Sparc/MCTargetDesc/SparcTargetStreamer.h
llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h