[llvm] 23ed601 - [NFC] Fix typo explicitly_convertable -> explicitly_convertible
Balazs Benics via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 3 07:13:58 PDT 2023
Author: Balazs Benics
Date: 2023-07-03T16:13:13+02:00
New Revision: 23ed601ae158686f663023d207e8453366f41101
URL: https://github.com/llvm/llvm-project/commit/23ed601ae158686f663023d207e8453366f41101
DIFF: https://github.com/llvm/llvm-project/commit/23ed601ae158686f663023d207e8453366f41101.diff
LOG: [NFC] Fix typo explicitly_convertable -> explicitly_convertible
Differential Revision: https://reviews.llvm.org/D152891
Added:
Modified:
llvm/include/llvm/ADT/iterator_range.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ADT/iterator_range.h b/llvm/include/llvm/ADT/iterator_range.h
index 4f33a27adadd5d..05379c114f7ca2 100644
--- a/llvm/include/llvm/ADT/iterator_range.h
+++ b/llvm/include/llvm/ADT/iterator_range.h
@@ -25,10 +25,10 @@
namespace llvm {
template <typename From, typename To, typename = void>
-struct explicitly_convertable : std::false_type {};
+struct explicitly_convertible : std::false_type {};
template <typename From, typename To>
-struct explicitly_convertable<
+struct explicitly_convertible<
From, To,
std::void_t<decltype(static_cast<To>(
std::declval<std::add_rvalue_reference_t<From>>()))>> : std::true_type {
@@ -44,7 +44,7 @@ class iterator_range {
public:
template <typename Container,
- std::enable_if_t<explicitly_convertable<
+ std::enable_if_t<explicitly_convertible<
detail::IterOfRange<Container>, IteratorT>::value> * = nullptr>
iterator_range(Container &&c)
: begin_iterator(adl_begin(std::forward<Container>(c))),
More information about the llvm-commits
mailing list