[lld] r233550 - [ELF] Use override keyword instead of virtual
Simon Atanasyan
simon at atanasyan.com
Mon Mar 30 08:07:16 PDT 2015
Author: atanasyan
Date: Mon Mar 30 10:07:16 2015
New Revision: 233550
URL: http://llvm.org/viewvc/llvm-project?rev=233550&view=rev
Log:
[ELF] Use override keyword instead of virtual
No functional changes.
Modified:
lld/trunk/lib/ReaderWriter/ELF/ExecutableWriter.h
Modified: lld/trunk/lib/ReaderWriter/ELF/ExecutableWriter.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ExecutableWriter.h?rev=233550&r1=233549&r2=233550&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ExecutableWriter.h (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ExecutableWriter.h Mon Mar 30 10:07:16 2015
@@ -30,13 +30,13 @@ public:
_runtimeFile(new RuntimeFile<ELFT>(ctx, "C runtime")) {}
protected:
- virtual void buildDynamicSymbolTable(const File &file);
- virtual void addDefaultAtoms();
- virtual bool createImplicitFiles(std::vector<std::unique_ptr<File> > &);
- virtual void finalizeDefaultAtomValues();
- virtual void createDefaultSections();
+ void buildDynamicSymbolTable(const File &file) override;
+ void addDefaultAtoms() override;
+ bool createImplicitFiles(std::vector<std::unique_ptr<File>> &) override;
+ void finalizeDefaultAtomValues() override;
+ void createDefaultSections() override;
- virtual bool isNeededTagRequired(const SharedLibraryAtom *sla) const {
+ bool isNeededTagRequired(const SharedLibraryAtom *sla) const override {
return this->_layout.isCopied(sla);
}
More information about the llvm-commits
mailing list