diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-03-05 07:52:44 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-03-05 07:52:44 +0000 |
commit | 8548299aa8c3af313407cb42250e812f55b80b38 (patch) | |
tree | ddb74170b8cb6bc4dcab07d721f181e552e83111 /llvm/lib/Linker/LinkModules.cpp | |
parent | e9ba759c816ee74fe4c7a780a77726bc66c42899 (diff) | |
download | bcm5719-llvm-8548299aa8c3af313407cb42250e812f55b80b38.tar.gz bcm5719-llvm-8548299aa8c3af313407cb42250e812f55b80b38.zip |
[C++11] Add 'override' keyword to virtual methods that override their base class.
llvm-svn: 202946
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r-- | llvm/lib/Linker/LinkModules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 9160e2661b7..e8f2b3bb6f8 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/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 |