summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/File.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-11-03 17:14:46 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-11-03 17:14:46 +0000
commitfd5d3654634e68ab93227c278ccc7062ceb8d899 (patch)
treeeafba9933353e7333048ff9877d165809511b099 /lld/lib/ReaderWriter/MachO/File.h
parent077ad48447627ae8a51a87fcf8b5884221f5d626 (diff)
downloadbcm5719-llvm-fd5d3654634e68ab93227c278ccc7062ceb8d899.tar.gz
bcm5719-llvm-fd5d3654634e68ab93227c278ccc7062ceb8d899.zip
Fix warnings about missing override.
llvm-svn: 221165
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/File.h')
-rw-r--r--lld/lib/ReaderWriter/MachO/File.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/File.h b/lld/lib/ReaderWriter/MachO/File.h
index cc832e4415a..666bab6b111 100644
--- a/lld/lib/ReaderWriter/MachO/File.h
+++ b/lld/lib/ReaderWriter/MachO/File.h
@@ -192,7 +192,8 @@ public:
: SharedLibraryFile(path), _installName(installName) {
}
- virtual const SharedLibraryAtom *exports(StringRef name, bool isData) const {
+ const SharedLibraryAtom *exports(StringRef name,
+ bool isData) const override {
// Pass down _installName and _allocator so that if this requested symbol
// is re-exported through this dylib, the SharedLibraryAtom's loadName()
// is this dylib installName and not the implementation dylib's.
OpenPOWER on IntegriCloud