Skip to content

Commit f1422a8

Browse files
committed
[MC] Deprecate createMCObjectStreamer with 3 unused trailing bool
1 parent 86e21e1 commit f1422a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/MC/TargetRegistry.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "llvm/ADT/iterator_range.h"
2424
#include "llvm/MC/MCObjectFileInfo.h"
2525
#include "llvm/Support/CodeGen.h"
26+
#include "llvm/Support/Compiler.h"
2627
#include "llvm/Support/ErrorHandling.h"
2728
#include "llvm/Support/FormattedStream.h"
2829
#include "llvm/TargetParser/Triple.h"
@@ -530,6 +531,7 @@ class Target {
530531
std::unique_ptr<MCObjectWriter> OW,
531532
std::unique_ptr<MCCodeEmitter> Emitter,
532533
const MCSubtargetInfo &STI) const;
534+
LLVM_DEPRECATED("Use the overload without the 3 trailing bool", "")
533535
MCStreamer *createMCObjectStreamer(const Triple &T, MCContext &Ctx,
534536
std::unique_ptr<MCAsmBackend> &&TAB,
535537
std::unique_ptr<MCObjectWriter> &&OW,

0 commit comments

Comments
 (0)