diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-10 08:38:12 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-10 08:38:12 +0000 |
commit | ac7d2955422e4fb4f84ac7a1c4eaa216c7851713 (patch) | |
tree | e2167e6e3e0d4073731b96346c0ece7bd20f6e0f /include/llvm/Transforms/Utils/ValueMapper.h | |
parent | f81b7f6069b27c0a515070dcb392f6828437412f (diff) | |
download | external_llvm-ac7d2955422e4fb4f84ac7a1c4eaa216c7851713.zip external_llvm-ac7d2955422e4fb4f84ac7a1c4eaa216c7851713.tar.gz external_llvm-ac7d2955422e4fb4f84ac7a1c4eaa216c7851713.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Transforms/Utils/ValueMapper.h')
-rw-r--r-- | include/llvm/Transforms/Utils/ValueMapper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/ValueMapper.h b/include/llvm/Transforms/Utils/ValueMapper.h index c786342..2194373 100644 --- a/include/llvm/Transforms/Utils/ValueMapper.h +++ b/include/llvm/Transforms/Utils/ValueMapper.h @@ -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. |