We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa3ed5a commit b120127Copy full SHA for b120127
llvm/include/llvm/ADT/ArrayRef.h
@@ -44,7 +44,6 @@ namespace llvm {
44
using const_iterator = const T *;
45
using size_type = size_t;
46
using reverse_iterator = std::reverse_iterator<iterator>;
47
- using value_type = typename std::remove_cv<T>::type;
48
49
private:
50
/// The start of the array, in an external buffer.
llvm/unittests/ADT/ArrayRefTest.cpp
@@ -51,14 +51,6 @@ static_assert(
51
"Assigning from an initializer list");
52
#endif
53
54
-// Check Typedefs.
55
-static_assert(
56
- std::is_same<ArrayRef<int>::value_type, int>::value,
57
- "erroneous value_type");
58
59
- std::is_same<ArrayRef<const int>::value_type, int>::value,
60
61
-
62
namespace {
63
64
TEST(ArrayRefTest, AllocatorCopy) {
0 commit comments