mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Adding some includes to appease build bots. Amends r203354
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5c47b5806a
commit
29b1962c42
@ -19,6 +19,8 @@
|
||||
#ifndef LLVM_ADT_ITERATOR_RANGE_H
|
||||
#define LLVM_ADT_ITERATOR_RANGE_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <utility>
|
||||
|
||||
namespace llvm {
|
||||
@ -52,9 +54,9 @@ public:
|
||||
|
||||
/// \brief Determine the distance between the end() and begin() iterators of
|
||||
/// a range. Analogous to std::distance().
|
||||
template <class Range>
|
||||
typename range_traits<Range>::difference_type distance(Range R) {
|
||||
return std::distance(R.begin(), R.end());
|
||||
template <class Range>
|
||||
typename range_traits<Range>::difference_type distance(Range R) {
|
||||
return std::distance(R.begin(), R.end());
|
||||
}
|
||||
|
||||
/// \brief Copies members of a range into the output iterator provided.
|
||||
|
Loading…
Reference in New Issue
Block a user