summaryrefslogtreecommitdiffstats
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
commit81ab4cc97aca5fadcbac8b60b703190c244f21c7 (patch)
tree9a026ec3306fb6794ea02e6c010888bc56540033
parentc5c881ee821049f98273c84fb806f72eb86dacb7 (diff)
downloadbcm5719-llvm-81ab4cc97aca5fadcbac8b60b703190c244f21c7.tar.gz
bcm5719-llvm-81ab4cc97aca5fadcbac8b60b703190c244f21c7.zip
Tidy up. Remove extraneous typedef.
llvm-svn: 206768
-rw-r--r--llvm/include/llvm/Object/ObjectFile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Object/ObjectFile.h b/llvm/include/llvm/Object/ObjectFile.h
index 3533669b8b8..10209b90c05 100644
--- a/llvm/include/llvm/Object/ObjectFile.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud