Skip to content

Commit d706c50

Browse files
[MC] Remove a redundant declaration of createNullStreamer (NFC)
Note that createNullStreamer is declared also in llvm/include/llvm/MC/MCStreamer.h. Identified with readability-redundant-declaration.
1 parent 04f87c6 commit d706c50

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/include/llvm/MC/TargetRegistry.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include "llvm/ADT/StringRef.h"
2323
#include "llvm/ADT/iterator_range.h"
2424
#include "llvm/MC/MCObjectFileInfo.h"
25+
#include "llvm/MC/MCStreamer.h"
2526
#include "llvm/Support/CodeGen.h"
2627
#include "llvm/Support/Compiler.h"
2728
#include "llvm/Support/ErrorHandling.h"
@@ -49,7 +50,6 @@ class MCInstrInfo;
4950
class MCObjectWriter;
5051
class MCRegisterInfo;
5152
class MCRelocationInfo;
52-
class MCStreamer;
5353
class MCSubtargetInfo;
5454
class MCSymbolizer;
5555
class MCTargetAsmParser;
@@ -65,7 +65,6 @@ class InstrumentManager;
6565
struct SourceMgr;
6666
} // namespace mca
6767

68-
LLVM_ABI MCStreamer *createNullStreamer(MCContext &Ctx);
6968
// Takes ownership of \p TAB and \p CE.
7069

7170
/// Create a machine code streamer which will print out assembly for the native

0 commit comments

Comments
 (0)