]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: update comment to make it consistent with the condition
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 31 Jul 2023 14:41:12 +0000 (23:41 +0900)
committerLuca 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

index 0f29c5d8bf5af2b879611c174d42fb2208f7192c..f26b423940e08c1293196ec78cafc424f14789b4 100644 (file)
@@ -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 not 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)));