diff --git a/lld/unittests/DriverTests/GnuLdDriverTest.cpp b/lld/unittests/DriverTests/GnuLdDriverTest.cpp index 119913634f0a..36d56258b6f2 100644 --- a/lld/unittests/DriverTests/GnuLdDriverTest.cpp +++ b/lld/unittests/DriverTests/GnuLdDriverTest.cpp @@ -29,7 +29,7 @@ protected: class LinkerScriptTest : public testing::Test { protected: - virtual void SetUp() { + void SetUp() override { llvm::Triple triple(llvm::sys::getDefaultTargetTriple()); _ctx = std::move(GnuLdDriver::createELFLinkingContext(triple)); }