Skip to content

Commit c860fd3

Browse files
committed
[NFC][libc] Remove ArrayRef which is replaced with span
1 parent 541e24e commit c860fd3

File tree

7 files changed

+13
-421
lines changed

7 files changed

+13
-421
lines changed

libc/src/__support/CPP/ArrayRef.h

Lines changed: 0 additions & 153 deletions
This file was deleted.

libc/src/__support/CPP/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ add_header_library(
2020
.uint
2121
)
2222

23-
add_header_library(
24-
array_ref
25-
HDRS
26-
ArrayRef.h
27-
)
28-
2923
add_header_library(
3024
bit
3125
HDRS

libc/src/pthread/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ add_entrypoint_object(
334334
pthread_getname_np.h
335335
DEPENDS
336336
libc.include.pthread
337-
libc.src.__support.CPP.array_ref
337+
libc.src.__support.CPP.span
338338
libc.src.__support.CPP.stringstream
339339
libc.src.__support.threads.thread
340340
)

libc/test/src/__support/CPP/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ add_libc_unittest(
3131
libc.src.__support.CPP.uint
3232
)
3333

34-
add_libc_unittest(
35-
arrayref_test
36-
SUITE
37-
libc_cpp_utils_unittests
38-
SRCS
39-
arrayref_test.cpp
40-
DEPENDS
41-
libc.src.__support.CPP.array_ref
42-
)
43-
4434
add_libc_unittest(
4535
vector_test
4636
SUITE

0 commit comments

Comments
 (0)