[llvm-commits] [llvm] r112991 - /llvm/trunk/tools/llvm-diff/DifferenceEngine.h
Bill Wendling
isanbard at gmail.com
Fri Sep 3 11:41:21 PDT 2010
Author: void
Date: Fri Sep 3 13:41:20 2010
New Revision: 112991
URL: http://llvm.org/viewvc/llvm-project?rev=112991&view=rev
Log:
Quiesce warning about non-virtual d'tor in virtual class.
Modified:
llvm/trunk/tools/llvm-diff/DifferenceEngine.h
Modified: llvm/trunk/tools/llvm-diff/DifferenceEngine.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-diff/DifferenceEngine.h?rev=112991&r1=112990&r2=112991&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-diff/DifferenceEngine.h (original)
+++ llvm/trunk/tools/llvm-diff/DifferenceEngine.h Fri Sep 3 13:41:20 2010
@@ -118,7 +118,7 @@
virtual void logd(const DiffLogBuilder &Log) = 0;
protected:
- ~Consumer() {}
+ virtual ~Consumer() {}
};
/// A RAII object for recording the current context.
@@ -141,7 +141,7 @@
virtual bool operator()(Value *L, Value *R) = 0;
protected:
- ~Oracle() {}
+ virtual ~Oracle() {}
};
DifferenceEngine(LLVMContext &context, Consumer &consumer)
More information about the llvm-commits
mailing list