From 1df0e84c254981ffb57f526fae4c903112760a44 Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Tue, 20 Oct 2015 08:21:01 +0000 Subject: [PATCH] Make class final to pacify -Wnon-virtual-dtor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250805 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gold/gold-plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp index 062f746c8fc..5365b99efe3 100644 --- a/tools/gold/gold-plugin.cpp +++ b/tools/gold/gold-plugin.cpp @@ -544,7 +544,7 @@ static const char *getResolutionName(ld_plugin_symbol_resolution R) { } namespace { -class LocalValueMaterializer : public ValueMaterializer { +class LocalValueMaterializer final : public ValueMaterializer { DenseSet &Dropped; DenseMap LocalVersions; -- 2.34.1