Omit "virtual" if overridden.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@345886 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/ELF/Arch/RISCV.cpp b/ELF/Arch/RISCV.cpp
index 528077d..461e8d3 100644
--- a/ELF/Arch/RISCV.cpp
+++ b/ELF/Arch/RISCV.cpp
@@ -22,7 +22,7 @@
class RISCV final : public TargetInfo {
public:
RISCV();
- virtual uint32_t calcEFlags() const override;
+ uint32_t calcEFlags() const override;
RelExpr getRelExpr(RelType Type, const Symbol &S,
const uint8_t *Loc) const override;
void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;