1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Adding some includes to appease build bots. Amends r203354

llvm-svn: 203356
This commit is contained in:
Aaron Ballman 2014-03-08 20:15:31 +00:00
parent dc8490464a
commit 237f6507e1

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.