[llvm] r291201 - Remove unused private fields to fix the clang -Werror build.
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 5 16:48:24 PST 2017
Author: dblaikie
Date: Thu Jan 5 18:48:24 2017
New Revision: 291201
URL: http://llvm.org/viewvc/llvm-project?rev=291201&view=rev
Log:
Remove unused private fields to fix the clang -Werror build.
Modified:
llvm/trunk/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp
Modified: llvm/trunk/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp?rev=291201&r1=291200&r2=291201&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp Thu Jan 5 18:48:24 2017
@@ -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;
More information about the llvm-commits
mailing list