mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[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.
This commit is contained in:
parent
034d6b415f
commit
606fed8845
@ -39,7 +39,6 @@
|
||||
namespace llvm {
|
||||
|
||||
class AssemblerConstantPools;
|
||||
class formatted_raw_ostream;
|
||||
class MCAsmBackend;
|
||||
class MCCodeEmitter;
|
||||
class MCContext;
|
||||
|
@ -23,6 +23,7 @@ class MCSymbol;
|
||||
class MDNode;
|
||||
class Module;
|
||||
class Type;
|
||||
class formatted_raw_ostream;
|
||||
|
||||
namespace AMDGPU {
|
||||
namespace HSAMD {
|
||||
|
@ -19,6 +19,8 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class formatted_raw_ostream;
|
||||
|
||||
class MipsTargetStreamer : public MCTargetStreamer {
|
||||
public:
|
||||
MipsTargetStreamer(MCStreamer &S);
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class formatted_raw_ostream;
|
||||
|
||||
class RISCVTargetStreamer : public MCTargetStreamer {
|
||||
public:
|
||||
RISCVTargetStreamer(MCStreamer &S);
|
||||
|
@ -13,6 +13,9 @@
|
||||
#include "llvm/MC/MCStreamer.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class formatted_raw_ostream;
|
||||
|
||||
class SparcTargetStreamer : public MCTargetStreamer {
|
||||
virtual void anchor();
|
||||
|
||||
|
@ -22,6 +22,7 @@
|
||||
namespace llvm {
|
||||
|
||||
class MCSymbolWasm;
|
||||
class formatted_raw_ostream;
|
||||
|
||||
/// WebAssembly-specific streamer interface, to implement support
|
||||
/// WebAssembly-specific assembly directives.
|
||||
|
Loading…
Reference in New Issue
Block a user