summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/ELF/SectionChunks.h
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-03-27 21:39:15 +0000
committerRui Ueyama <ruiu@google.com>2015-03-27 21:39:15 +0000
commit89616adb0c193c88ae61d8f62a046dd8dbb35d46 (patch)
tree82bc8e755b81dd3627b5d86ee1a38730e8307249 /lld/lib/ReaderWriter/ELF/SectionChunks.h
parent988355c3aec10119b9ba3f48f91957181f1b306c (diff)
downloadbcm5719-llvm-89616adb0c193c88ae61d8f62a046dd8dbb35d46.tar.gz
bcm5719-llvm-89616adb0c193c88ae61d8f62a046dd8dbb35d46.zip
Use override keyword instead of virtual.
llvm-svn: 233424
Diffstat (limited to 'lld/lib/ReaderWriter/ELF/SectionChunks.h')
-rw-r--r--lld/lib/ReaderWriter/ELF/SectionChunks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/ELF/SectionChunks.h b/lld/lib/ReaderWriter/ELF/SectionChunks.h
index 03ccfa059c6..145e3075cda 100644
--- a/lld/lib/ReaderWriter/ELF/SectionChunks.h
+++ b/lld/lib/ReaderWriter/ELF/SectionChunks.h
@@ -53,7 +53,7 @@ public:
/// \brief Finalize the section contents before writing
/// \brief Does this section have an output segment.
- virtual bool hasOutputSegment() { return false; }
+ virtual bool hasOutputSegment() const { return false; }
/// Return if the section is a loadable section that occupies memory
virtual bool isLoadableSection() const { return false; }
OpenPOWER on IntegriCloud