Tidy up. Remove extraneous typedef.
authorJim Grosbach <grosbach@apple.com>
Mon, 21 Apr 2014 18:10:29 +0000 (18:10 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 21 Apr 2014 18:10:29 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206768 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Object/ObjectFile.h

index 3533669b8b8652ecade1c2e54903f1cb38fc4e43..10209b90c05a886957cfa42d554e4e62bcde00f2 100644 (file)
@@ -113,9 +113,9 @@ public:
 
   relocation_iterator relocation_begin() const;
   relocation_iterator relocation_end() const;
-  typedef iterator_range<relocation_iterator> relocation_iterator_range;
-  relocation_iterator_range relocations() const {
-    return relocation_iterator_range(relocation_begin(), relocation_end());
+  iterator_range<relocation_iterator> relocations() const {
+    return iterator_range<relocation_iterator>(relocation_begin(),
+                                               relocation_end());
   }
   section_iterator getRelocatedSection() const;