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

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

llvm-svn: 134867
This commit is contained in:
Chandler Carruth 2011-07-10 08:38:12 +00:00
parent 18ca0475d7
commit 203976e39f
1 changed files with 1 additions and 1 deletions

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.