aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llvm-diff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-09-03 18:41:20 +0000
committerBill Wendling <isanbard@gmail.com>2010-09-03 18:41:20 +0000
commitac530614641a3702a90702b78acb6b9d8588881b (patch)
tree612d5d352c8785005c95b2e4aaec495e7b4c298f /tools/llvm-diff
parent65482b1bb873dd820f54a24a2f34bd65f2669e5c (diff)
downloadexternal_llvm-ac530614641a3702a90702b78acb6b9d8588881b.zip
external_llvm-ac530614641a3702a90702b78acb6b9d8588881b.tar.gz
external_llvm-ac530614641a3702a90702b78acb6b9d8588881b.tar.bz2
Quiesce warning about non-virtual d'tor in virtual class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112991 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-diff')
-rw-r--r--tools/llvm-diff/DifferenceEngine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-diff/DifferenceEngine.h b/tools/llvm-diff/DifferenceEngine.h
index 1609bd5..6eefb06 100644
--- a/tools/llvm-diff/DifferenceEngine.h
+++ b/tools/llvm-diff/DifferenceEngine.h
@@ -118,7 +118,7 @@ namespace llvm {
virtual void logd(const DiffLogBuilder &Log) = 0;
protected:
- ~Consumer() {}
+ virtual ~Consumer() {}
};
/// A RAII object for recording the current context.
@@ -141,7 +141,7 @@ namespace llvm {
virtual bool operator()(Value *L, Value *R) = 0;
protected:
- ~Oracle() {}
+ virtual ~Oracle() {}
};
DifferenceEngine(LLVMContext &context, Consumer &consumer)