summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/DifferenceEngine.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 18:25:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-06-06 18:25:08 +0000
commit628a39faa3d71dce76842ef031ae4244fde18bb4 (patch)
tree180306eae19f2028f63a4e0eeda6b4aba07ee4b3 /llvm/tools/llvm-diff/DifferenceEngine.h
parenta98032e4cfe283ba6a3dce00d74e456e4840f0a8 (diff)
downloadbcm5719-llvm-628a39faa3d71dce76842ef031ae4244fde18bb4.tar.gz
bcm5719-llvm-628a39faa3d71dce76842ef031ae4244fde18bb4.zip
Remove unused private fields found by clang's new -Wunused-private-field.
There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. llvm-svn: 158090
Diffstat (limited to 'llvm/tools/llvm-diff/DifferenceEngine.h')
-rw-r--r--llvm/tools/llvm-diff/DifferenceEngine.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/tools/llvm-diff/DifferenceEngine.h b/llvm/tools/llvm-diff/DifferenceEngine.h
index 7ea79e430ff..0246d8ff5d6 100644
--- a/llvm/tools/llvm-diff/DifferenceEngine.h
+++ b/llvm/tools/llvm-diff/DifferenceEngine.h
@@ -59,8 +59,8 @@ namespace llvm {
virtual ~Oracle() {}
};
- DifferenceEngine(LLVMContext &context, Consumer &consumer)
- : context(context), consumer(consumer), globalValueOracle(0) {}
+ DifferenceEngine(Consumer &consumer)
+ : consumer(consumer), globalValueOracle(0) {}
void diff(Module *L, Module *R);
void diff(Function *L, Function *R);
@@ -84,7 +84,6 @@ namespace llvm {
bool equivalentAsOperands(GlobalValue *L, GlobalValue *R);
private:
- LLVMContext &context;
Consumer &consumer;
Oracle *globalValueOracle;
};
OpenPOWER on IntegriCloud