From 01394fb9e4d4fcf401e98116c02866d64047008d Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 5 Mar 2014 07:52:44 +0000 Subject: [C++11] Add 'override' keyword to virtual methods that override their base class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202946 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Linker/LinkModules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Linker') diff --git a/lib/Linker/LinkModules.cpp b/lib/Linker/LinkModules.cpp index 9160e2661b..e8f2b3bb6f 100644 --- a/lib/Linker/LinkModules.cpp +++ b/lib/Linker/LinkModules.cpp @@ -87,7 +87,7 @@ public: private: Type *getImpl(Type *T); /// remapType - Implement the ValueMapTypeRemapper interface. - Type *remapType(Type *SrcTy) { + Type *remapType(Type *SrcTy) override { return get(SrcTy); } @@ -372,7 +372,7 @@ namespace { LazilyLinkFunctions(LazilyLinkFunctions) { } - virtual Value *materializeValueFor(Value *V); + Value *materializeValueFor(Value *V) override; }; /// ModuleLinker - This is an implementation class for the LinkModules -- cgit v1.2.3