diff --git a/llvm/include/llvm/ADT/iterator_range.h b/llvm/include/llvm/ADT/iterator_range.h index 4f33a27adadd5..05379c114f7ca 100644 --- a/llvm/include/llvm/ADT/iterator_range.h +++ b/llvm/include/llvm/ADT/iterator_range.h @@ -25,10 +25,10 @@ namespace llvm { template -struct explicitly_convertable : std::false_type {}; +struct explicitly_convertible : std::false_type {}; template -struct explicitly_convertable< +struct explicitly_convertible< From, To, std::void_t( std::declval>()))>> : std::true_type { @@ -44,7 +44,7 @@ class iterator_range { public: template , IteratorT>::value> * = nullptr> iterator_range(Container &&c) : begin_iterator(adl_begin(std::forward(c))),