From 29b1962c422fb0b68ccd360f7188c3becfcc5d0b Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 8 Mar 2014 20:15:31 +0000 Subject: [PATCH] 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 --- include/llvm/ADT/iterator_range.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/llvm/ADT/iterator_range.h b/include/llvm/ADT/iterator_range.h index 4474e5dbdf9..b8ee75a8d4d 100644 --- a/include/llvm/ADT/iterator_range.h +++ b/include/llvm/ADT/iterator_range.h @@ -19,6 +19,8 @@ #ifndef LLVM_ADT_ITERATOR_RANGE_H #define LLVM_ADT_ITERATOR_RANGE_H +#include +#include #include 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 -typename range_traits::difference_type distance(Range R) { - return std::distance(R.begin(), R.end()); +template +typename range_traits::difference_type distance(Range R) { + return std::distance(R.begin(), R.end()); } /// \brief Copies members of a range into the output iterator provided.