[llvm] r232311 - Remove use of reserved identifier _Iterator
David Blaikie
dblaikie at gmail.com
Sat Mar 14 20:18:22 PDT 2015
Author: dblaikie
Date: Sat Mar 14 22:18:21 2015
New Revision: 232311
URL: http://llvm.org/viewvc/llvm-project?rev=232311&view=rev
Log:
Remove use of reserved identifier _Iterator
Modified:
llvm/trunk/include/llvm/ADT/STLExtras.h
Modified: llvm/trunk/include/llvm/ADT/STLExtras.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/STLExtras.h?rev=232311&r1=232310&r2=232311&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/STLExtras.h (original)
+++ llvm/trunk/include/llvm/ADT/STLExtras.h Sat Mar 14 22:18:21 2015
@@ -179,11 +179,11 @@ public:
}
};
-template <class _Iterator, class Func>
-inline mapped_iterator<_Iterator, Func>
-operator+(typename mapped_iterator<_Iterator, Func>::difference_type N,
- const mapped_iterator<_Iterator, Func>& X) {
- return mapped_iterator<_Iterator, Func>(X.getCurrent() - N, X.getFunc());
+template <class Iterator, class Func>
+inline mapped_iterator<Iterator, Func>
+operator+(typename mapped_iterator<Iterator, Func>::difference_type N,
+ const mapped_iterator<Iterator, Func> &X) {
+ return mapped_iterator<Iterator, Func>(X.getCurrent() - N, X.getFunc());
}
More information about the llvm-commits
mailing list