diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-09-03 18:41:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-09-03 18:41:20 +0000 |
commit | ac530614641a3702a90702b78acb6b9d8588881b (patch) | |
tree | 612d5d352c8785005c95b2e4aaec495e7b4c298f /tools | |
parent | 65482b1bb873dd820f54a24a2f34bd65f2669e5c (diff) |
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')
-rw-r--r-- | tools/llvm-diff/DifferenceEngine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/llvm-diff/DifferenceEngine.h b/tools/llvm-diff/DifferenceEngine.h index 1609bd5c10..6eefb06118 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) |