Skip to content

Commit

Permalink
Make class final to pacify -Wnon-virtual-dtor.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250805 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
r4nt committed Oct 20, 2015
1 parent d2643e2 commit 1df0e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gold/gold-plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ static const char *getResolutionName(ld_plugin_symbol_resolution R) {
}

namespace {
class LocalValueMaterializer : public ValueMaterializer {
class LocalValueMaterializer final : public ValueMaterializer {
DenseSet<GlobalValue *> &Dropped;
DenseMap<GlobalObject *, GlobalObject *> LocalVersions;

Expand Down

0 comments on commit 1df0e84

Please sign in to comment.