diff options
author | Kazu Hirata <kazu@google.com> | 2022-07-25 23:00:59 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-07-25 23:00:59 -0700 |
commit | 3f3930a451e118e82885a6dd20e3918427b816c2 (patch) | |
tree | 9fdd189c93ba9bb4d82343f281e96650ddfffa02 /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | ae002f8bca11bf652fa4d2683c8a627fa77158a8 (diff) | |
download | llvm-3f3930a451e118e82885a6dd20e3918427b816c2.zip llvm-3f3930a451e118e82885a6dd20e3918427b816c2.tar.gz llvm-3f3930a451e118e82885a6dd20e3918427b816c2.tar.bz2 |
Remove redundaunt virtual specifiers (NFC)
Identified with tidy-modernize-use-override.
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
-rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index 0b4e986..f6360c4 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -293,9 +293,8 @@ public: : ELFObjectWriter(std::move(MOTW)), OS(OS), DwoOS(DwoOS), IsLittleEndian(IsLittleEndian) {} - virtual bool checkRelocation(MCContext &Ctx, SMLoc Loc, - const MCSectionELF *From, - const MCSectionELF *To) override { + bool checkRelocation(MCContext &Ctx, SMLoc Loc, const MCSectionELF *From, + const MCSectionELF *To) override { if (isDwoSection(*From)) { Ctx.reportError(Loc, "A dwo section may not contain relocations"); return false; |