[lld] r228723 - Use override rather than virtual.
Rui Ueyama
ruiu at google.com
Tue Feb 10 10:59:37 PST 2015
Author: ruiu
Date: Tue Feb 10 12:59:37 2015
New Revision: 228723
URL: http://llvm.org/viewvc/llvm-project?rev=228723&view=rev
Log:
Use override rather than virtual.
Modified:
lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp
Modified: lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp?rev=228723&r1=228722&r2=228723&view=diff
==============================================================================
--- lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp (original)
+++ lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp Tue Feb 10 12:59:37 2015
@@ -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));
}
More information about the llvm-commits
mailing list