[llvm] r206768 - Tidy up. Remove extraneous typedef.
Jim Grosbach
grosbach at apple.com
Mon Apr 21 11:10:29 PDT 2014
Author: grosbach
Date: Mon Apr 21 13:10:29 2014
New Revision: 206768
URL: http://llvm.org/viewvc/llvm-project?rev=206768&view=rev
Log:
Tidy up. Remove extraneous typedef.
Modified:
llvm/trunk/include/llvm/Object/ObjectFile.h
Modified: llvm/trunk/include/llvm/Object/ObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ObjectFile.h?rev=206768&r1=206767&r2=206768&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ObjectFile.h (original)
+++ llvm/trunk/include/llvm/Object/ObjectFile.h Mon Apr 21 13:10:29 2014
@@ -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;
More information about the llvm-commits
mailing list