diff options
| author | Rui Ueyama <ruiu@google.com> | 2014-03-27 23:34:32 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2014-03-27 23:34:32 +0000 |
| commit | 9024c36f5a7622cedbb68c7a71ba1a556862a6b6 (patch) | |
| tree | 29ea6417aa4da8e4cee42223f96b38e9c7fac8f2 /lld/unittests/DriverTests/DarwinLdDriverTest.cpp | |
| parent | 79c8e8f04671e82af0f2f42f467b19f90abd3957 (diff) | |
| download | bcm5719-llvm-9024c36f5a7622cedbb68c7a71ba1a556862a6b6.tar.gz bcm5719-llvm-9024c36f5a7622cedbb68c7a71ba1a556862a6b6.zip | |
Make anonymous namespace as small as possible.
llvm-svn: 204982
Diffstat (limited to 'lld/unittests/DriverTests/DarwinLdDriverTest.cpp')
| -rw-r--r-- | lld/unittests/DriverTests/DarwinLdDriverTest.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lld/unittests/DriverTests/DarwinLdDriverTest.cpp b/lld/unittests/DriverTests/DarwinLdDriverTest.cpp index 33d936717f5..761face8a5d 100644 --- a/lld/unittests/DriverTests/DarwinLdDriverTest.cpp +++ b/lld/unittests/DriverTests/DarwinLdDriverTest.cpp @@ -22,12 +22,12 @@ using namespace llvm; using namespace lld; namespace { - class DarwinLdParserTest : public ParserTest<DarwinLdDriver, MachOLinkingContext> { protected: const LinkingContext *linkingContext() override { return &_context; } }; +} TEST_F(DarwinLdParserTest, Basic) { EXPECT_TRUE(parse("ld", "foo.o", "bar.o", nullptr)); @@ -229,6 +229,3 @@ TEST_F(DarwinLdParserTest, llvmOptions) { EXPECT_EQ(strcmp(options[0],"-debug-only"), 0); EXPECT_EQ(strcmp(options[1],"foo"), 0); } - - -} // end anonymous namespace |

