diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-06-20 15:59:00 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-06-20 15:59:00 +0000 |
| commit | d30a1f2cb2a5e60eb130b461337cdf9f4d63a606 (patch) | |
| tree | c92619b1943082b299e95cc498aece8d4fcc4ba1 /lld/unittests/DriverTests/DarwinLdDriverTest.cpp | |
| parent | e5bb30d9a75b4dbd01564decdaf1e5bd2b694cfd (diff) | |
| download | bcm5719-llvm-d30a1f2cb2a5e60eb130b461337cdf9f4d63a606.tar.gz bcm5719-llvm-d30a1f2cb2a5e60eb130b461337cdf9f4d63a606.zip | |
MachO: rename _outputFileType to avoid shadowing parent field.
llvm-svn: 211367
Diffstat (limited to 'lld/unittests/DriverTests/DarwinLdDriverTest.cpp')
| -rw-r--r-- | lld/unittests/DriverTests/DarwinLdDriverTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lld/unittests/DriverTests/DarwinLdDriverTest.cpp b/lld/unittests/DriverTests/DarwinLdDriverTest.cpp index 761face8a5d..3c17ca9e4cb 100644 --- a/lld/unittests/DriverTests/DarwinLdDriverTest.cpp +++ b/lld/unittests/DriverTests/DarwinLdDriverTest.cpp @@ -45,27 +45,27 @@ TEST_F(DarwinLdParserTest, Output) { TEST_F(DarwinLdParserTest, Dylib) { EXPECT_TRUE(parse("ld", "-dylib", "foo.o", nullptr)); - EXPECT_EQ(llvm::MachO::MH_DYLIB, _context.outputFileType()); + EXPECT_EQ(llvm::MachO::MH_DYLIB, _context.outputMachOType()); } TEST_F(DarwinLdParserTest, Relocatable) { EXPECT_TRUE(parse("ld", "-r", "foo.o", nullptr)); - EXPECT_EQ(llvm::MachO::MH_OBJECT, _context.outputFileType()); + EXPECT_EQ(llvm::MachO::MH_OBJECT, _context.outputMachOType()); } TEST_F(DarwinLdParserTest, Bundle) { EXPECT_TRUE(parse("ld", "-bundle", "foo.o", nullptr)); - EXPECT_EQ(llvm::MachO::MH_BUNDLE, _context.outputFileType()); + EXPECT_EQ(llvm::MachO::MH_BUNDLE, _context.outputMachOType()); } TEST_F(DarwinLdParserTest, Preload) { EXPECT_TRUE(parse("ld", "-preload", "foo.o", nullptr)); - EXPECT_EQ(llvm::MachO::MH_PRELOAD, _context.outputFileType()); + EXPECT_EQ(llvm::MachO::MH_PRELOAD, _context.outputMachOType()); } TEST_F(DarwinLdParserTest, Static) { EXPECT_TRUE(parse("ld", "-static", "foo.o", nullptr)); - EXPECT_EQ(llvm::MachO::MH_EXECUTE, _context.outputFileType()); + EXPECT_EQ(llvm::MachO::MH_EXECUTE, _context.outputMachOType()); } TEST_F(DarwinLdParserTest, Entry) { |

