[llvm] r250805 - Make class final to pacify -Wnon-virtual-dtor.
Manuel Klimek via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 20 01:21:02 PDT 2015
Author: klimek
Date: Tue Oct 20 03:21:01 2015
New Revision: 250805
URL: http://llvm.org/viewvc/llvm-project?rev=250805&view=rev
Log:
Make class final to pacify -Wnon-virtual-dtor.
Modified:
llvm/trunk/tools/gold/gold-plugin.cpp
Modified: llvm/trunk/tools/gold/gold-plugin.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold-plugin.cpp?rev=250805&r1=250804&r2=250805&view=diff
==============================================================================
--- llvm/trunk/tools/gold/gold-plugin.cpp (original)
+++ llvm/trunk/tools/gold/gold-plugin.cpp Tue Oct 20 03:21:01 2015
@@ -544,7 +544,7 @@ static const char *getResolutionName(ld_
}
namespace {
-class LocalValueMaterializer : public ValueMaterializer {
+class LocalValueMaterializer final : public ValueMaterializer {
DenseSet<GlobalValue *> &Dropped;
DenseMap<GlobalObject *, GlobalObject *> LocalVersions;
More information about the llvm-commits
mailing list