summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-04-21 18:10:29 +0000
committerJim Grosbach <grosbach@apple.com>2014-04-21 18:10:29 +0000
commite6b88dc26a67649e62ed0b8af170ce14c7058031 (patch)
tree962ca3b56c6af98ec2dd38fa738873d5be4b17d3 /include
parent6763d9693942dbd8a75b5b3e0542e8f9c46a2037 (diff)
downloadllvm-e6b88dc26a67649e62ed0b8af170ce14c7058031.tar.gz
llvm-e6b88dc26a67649e62ed0b8af170ce14c7058031.tar.bz2
llvm-e6b88dc26a67649e62ed0b8af170ce14c7058031.tar.xz
Tidy up. Remove extraneous typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Object/ObjectFile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h
index 3533669b8b..10209b90c0 100644
--- a/include/llvm/Object/ObjectFile.h
+++ b/include/llvm/Object/ObjectFile.h
@@ -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;