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:
Aaron Ballman 2014-03-08 20:15:31 +00:00
parent 5c47b5806a
commit 29b1962c42

View File

@ -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.