summaryrefslogtreecommitdiff
path: root/lld/unittests
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-04-08 16:59:03 +0000
committerRui Ueyama <ruiu@google.com>2015-04-08 16:59:03 +0000
commit888e313b527797e1a36b826d75dc7118750b6523 (patch)
treefa9e5d4328b55050aa45203ceeeb030f4f3bc4f1 /lld/unittests
parent827b8563f86c613b27a094866fbbd61d67ec4efc (diff)
Remove unused typedefs.
Diffstat (limited to 'lld/unittests')
-rw-r--r--lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp b/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
index 16ef88aa4a4..7def86c8792 100644
--- a/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
+++ b/lld/unittests/MachOTests/MachONormalizedFileToAtomsTests.cpp
@@ -66,7 +66,7 @@ TEST(ToAtomsTest, basic_obj_x86_64) {
EXPECT_FALSE(!atom_f);
const lld::File &file = **atom_f;
EXPECT_EQ(3U, file.defined().size());
- lld::File::defined_iterator it = file.defined().begin();
+ auto it = file.defined().begin();
const lld::DefinedAtom *atom1 = *it;
++it;
const lld::DefinedAtom *atom2 = *it;