Fix -Wdeprecated regarding ORC copying ValueMaterializers
[oota-llvm.git] / lib / Linker / LinkModules.cpp
index 4d939a62f4bb76fac4d530cb58834cf7de8aca7c..27fdef467959fc33fd06dd77e61663aea9e06f30 100644 (file)
@@ -365,7 +365,7 @@ class ModuleLinker;
 /// Creates prototypes for functions that are lazily linked on the fly. This
 /// speeds up linking for modules with many/ lazily linked functions of which
 /// few get used.
-class ValueMaterializerTy : public ValueMaterializer {
+class ValueMaterializerTy final : public ValueMaterializer {
   TypeMapTy &TypeMap;
   Module *DstM;
   std::vector<GlobalValue *> &LazilyLinkGlobalValues;