summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-03-05 07:52:44 +0000
committerCraig Topper <craig.topper@gmail.com>2014-03-05 07:52:44 +0000
commit8548299aa8c3af313407cb42250e812f55b80b38 (patch)
treeddb74170b8cb6bc4dcab07d721f181e552e83111 /llvm/lib/Linker/LinkModules.cpp
parente9ba759c816ee74fe4c7a780a77726bc66c42899 (diff)
downloadbcm5719-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.cpp4
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
OpenPOWER on IntegriCloud