Skip to content

Commit

Permalink
Remove unused private fields to fix the clang -Werror build.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291201 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dwblaikie committed Jan 6, 2017
1 parent 15a812c commit f15a3ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f15a3ad

Please sign in to comment.