summaryrefslogtreecommitdiff
path: root/lld/unittests
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-07-23 23:03:55 +0000
committerRui Ueyama <ruiu@google.com>2015-07-23 23:03:55 +0000
commit9aa753ff51e1239d058b8ad184e02b55d6b65e9d (patch)
tree60d007fd35e5efcad7fe3661796b9f980b5aa8cc /lld/unittests
parent8236857a76ccb4a66bccd504123d8c3fddf59430 (diff)
Fix -Wextra-semi.
Patch from Eugene.Zelenko!
Diffstat (limited to 'lld/unittests')
-rw-r--r--lld/unittests/DriverTests/GnuLdDriverTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/unittests/DriverTests/GnuLdDriverTest.cpp b/lld/unittests/DriverTests/GnuLdDriverTest.cpp
index db8a48d4a34..5c2756331f4 100644
--- a/lld/unittests/DriverTests/GnuLdDriverTest.cpp
+++ b/lld/unittests/DriverTests/GnuLdDriverTest.cpp
@@ -42,7 +42,7 @@ protected:
std::error_code ec =
GnuLdDriver::evalLinkerScript(*_ctx, std::move(mb), out, nostdlib);
EXPECT_FALSE(ec);
- };
+ }
std::unique_ptr<ELFLinkingContext> _ctx;
};
@@ -281,4 +281,3 @@ TEST_F(LinkerScriptTest, ExprEval) {
EXPECT_EQ(0x14000, result);
EXPECT_EQ(0, sa2->symbol().compare(StringRef(".")));
}
-