Make the destructor virtual to silence GCC's -Wnon-virtual-dtor. Let me

know if there is some problem with this destructor being virtual...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2011-07-10 08:38:12 +00:00
parent f81b7f6069
commit ac7d295542

View File

@ -27,7 +27,7 @@ namespace llvm {
class ValueMapTypeRemapper {
virtual void Anchor(); // Out of line method.
public:
~ValueMapTypeRemapper() {}
virtual ~ValueMapTypeRemapper() {}
/// remapType - The client should implement this method if they want to
/// remap types while mapping values.