From b1d5086803088ac5ede330468e2b2969b882a16a Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Thu, 30 Jul 2015 00:40:42 +0000 Subject: [PATCH] Prefix make_reverse_iterator with llvm namespace. This was fallout from r243581. Turns out C++14 has make_reverse_iterator. Thanks to Filipe and David for the quick fix suggestion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243598 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ADT/STLExtras.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index fa2a90680d3..fd4412c4166 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -225,10 +225,10 @@ template auto reverse( ContainerTy &&C, typename std::enable_if::value>::type * = nullptr) - -> decltype(make_range(make_reverse_iterator(std::end(C)), - make_reverse_iterator(std::begin(C)))) { - return make_range(make_reverse_iterator(std::end(C)), - make_reverse_iterator(std::begin(C))); + -> decltype(make_range(llvm::make_reverse_iterator(std::end(C)), + llvm::make_reverse_iterator(std::begin(C)))) { + return make_range(llvm::make_reverse_iterator(std::end(C)), + llvm::make_reverse_iterator(std::begin(C))); } //===----------------------------------------------------------------------===// -- 2.34.1