projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2617288
)
test: update comment to make it consistent with the condition
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Mon, 31 Jul 2023 14:41:12 +0000
(23:41 +0900)
committer
Luca Boccassi
<luca.boccassi@gmail.com>
Mon, 31 Jul 2023 14:48:54 +0000
(15:48 +0100)
Follow-up for
6425dec88b9dedf53d12a970339ab88f948c201a
.
src/test/test-bitfield.c
patch
|
blob
|
history
diff --git
a/src/test/test-bitfield.c
b/src/test/test-bitfield.c
index 0f29c5d8bf5af2b879611c174d42fb2208f7192c..f26b423940e08c1293196ec78cafc424f14789b4 100644
(file)
--- a/
src/test/test-bitfield.c
+++ b/
src/test/test-bitfield.c
@@
-214,7
+214,7
@@
TEST(bits) {
/* Verify these use cases are constant-folded. */
#if !defined(__clang__) || (__clang_major__ >= 13)
- /* Clang 11
doesn'
t grok those; skip them. */
+ /* Clang 11
and 12 (and possibly older) do no
t grok those; skip them. */
assert_cc(__builtin_constant_p(INDEX_TO_MASK(uint8_t, 1)));
assert_cc(__builtin_constant_p(INDEX_TO_MASK(uint16_t, 1)));
assert_cc(__builtin_constant_p(INDEX_TO_MASK(uint32_t, 1)));