Skip to content

Commit

Permalink
Make the destructor virtual to silence GCC's -Wnon-virtual-dtor. Let me
Browse files Browse the repository at this point in the history
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
  • Loading branch information
chandlerc committed Jul 10, 2011
1 parent f81b7f6 commit ac7d295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/llvm/Transforms/Utils/ValueMapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ac7d295

Please sign in to comment.