From 6f0e4a877702bdbac122aa57089c9bcd2651e414 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 6 Jan 2017 00:48:24 +0000 Subject: [PATCH] Remove unused private fields to fix the clang -Werror build. llvm-svn: 291201 --- lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp b/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp index 00cce92c2e2..f5b5335bb98 100644 --- a/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp +++ b/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp @@ -39,12 +39,8 @@ namespace llvm { namespace { class LanaiMCCodeEmitter : public MCCodeEmitter { - const MCInstrInfo &InstrInfo; - MCContext &Context; - public: - LanaiMCCodeEmitter(const MCInstrInfo &MCII, MCContext &C) - : InstrInfo(MCII), Context(C) {} + LanaiMCCodeEmitter(const MCInstrInfo &MCII, MCContext &C) {} LanaiMCCodeEmitter(const LanaiMCCodeEmitter &) = delete; void operator=(const LanaiMCCodeEmitter &) = delete; ~LanaiMCCodeEmitter() override = default;