Skip to content

Commit 5d94dd3

Browse files
prefer set to list APPEND
1 parent 282a079 commit 5d94dd3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

libc/src/stdbit/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
list(APPEND prefixes
1+
set(prefixes
22
leading_zeros
33
leading_ones
44
trailing_zeros
55
)
6-
list(APPEND suffixes c s i l ll)
6+
set(suffixes c s i l ll)
77
foreach(prefix IN LISTS prefixes)
88
foreach(suffix IN LISTS suffixes)
99
add_entrypoint_object(

libc/test/src/stdbit/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
add_custom_target(libc-stdbit-tests)
22

3-
list(APPEND prefixes
3+
set(prefixes
44
leading_zeros
55
leading_ones
66
trailing_zeros
77
)
8-
list(APPEND suffixes c s i l ll)
8+
set(suffixes c s i l ll)
99
foreach(prefix IN LISTS prefixes)
1010
foreach(suffix IN LISTS suffixes)
1111
add_libc_test(

0 commit comments

Comments
 (0)