diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2016-03-21 18:32:35 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2016-03-21 18:32:35 +0000 |
commit | 2bf5ed567027ae874dc5858e5dadeb3f32d637c5 (patch) | |
tree | fde50b04c26ca322d52f642250f3844c8253c0b2 /lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp | |
parent | 93a879ce78a65b9c38ad5db7b16d0e5ea4283478 (diff) | |
download | bcm5719-llvm-2bf5ed567027ae874dc5858e5dadeb3f32d637c5.tar.gz bcm5719-llvm-2bf5ed567027ae874dc5858e5dadeb3f32d637c5.zip |
Fix Clang-tidy modernize-deprecated-headers warnings; other minor fixes.
Differential revision: http://reviews.llvm.org/D18232
llvm-svn: 263968
Diffstat (limited to 'lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp')
-rw-r--r-- | lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp b/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp index 6827a732fbd..1a081d04658 100644 --- a/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp +++ b/lld/unittests/MachOTests/MachONormalizedFileBinaryReaderTests.cpp @@ -10,8 +10,6 @@ #include "gtest/gtest.h" #include "../../lib/ReaderWriter/MachO/MachONormalizedFile.h" #include "llvm/Support/MachO.h" -#include <assert.h> -#include <vector> using llvm::StringRef; using llvm::MemoryBuffer; @@ -75,7 +73,6 @@ TEST(BinaryReaderTest, empty_obj_x86_64) { EXPECT_TRUE(f->undefinedSymbols.empty()); } - TEST(BinaryReaderTest, empty_obj_x86) { FILEBYTES = { 0xce, 0xfa, 0xed, 0xfe, 0x07, 0x00, 0x00, 0x00, @@ -107,7 +104,6 @@ TEST(BinaryReaderTest, empty_obj_x86) { EXPECT_TRUE(f->undefinedSymbols.empty()); } - TEST(BinaryReaderTest, empty_obj_ppc) { FILEBYTES = { 0xfe, 0xed, 0xfa, 0xce, 0x00, 0x00, 0x00, 0x12, @@ -139,7 +135,6 @@ TEST(BinaryReaderTest, empty_obj_ppc) { EXPECT_TRUE(f->undefinedSymbols.empty()); } - TEST(BinaryReaderTest, empty_obj_armv7) { FILEBYTES = { 0xce, 0xfa, 0xed, 0xfe, 0x0c, 0x00, 0x00, 0x00, @@ -326,7 +321,6 @@ TEST(BinaryReaderTest, hello_obj_x86_64) { EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT)); } - TEST(BinaryReaderTest, hello_obj_x86) { FILEBYTES = { 0xCE, 0xFA, 0xED, 0xFE, 0x07, 0x00, 0x00, 0x00, @@ -458,7 +452,6 @@ TEST(BinaryReaderTest, hello_obj_x86) { EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT)); } - TEST(BinaryReaderTest, hello_obj_armv7) { FILEBYTES = { 0xCE, 0xFA, 0xED, 0xFE, 0x0C, 0x00, 0x00, 0x00, @@ -600,7 +593,6 @@ TEST(BinaryReaderTest, hello_obj_armv7) { EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT)); } - TEST(BinaryReaderTest, hello_obj_ppc) { FILEBYTES = { 0xFE, 0xED, 0xFA, 0xCE, 0x00, 0x00, 0x00, 0x12, @@ -744,5 +736,4 @@ TEST(BinaryReaderTest, hello_obj_ppc) { EXPECT_EQ(printfLabel.scope, SymbolScope(N_EXT)); writeBinary(*f, "/tmp/foo.o"); - } |