* lib/regcomp.c (utf8_sb_map): Use the initializer shorthand syntax also
with clang.
+2020-08-16 Bruno Haible <bruno@clisp.org>
+
+ regex: Use initializer shorthand syntax also with clang.
+ * lib/regcomp.c (utf8_sb_map): Use the initializer shorthand syntax also
+ with clang.
+
2020-08-16 Bruno Haible <bruno@clisp.org>
regex: Use space optimization also with clang.
static const bitset_t utf8_sb_map =
{
/* Set the first 128 bits. */
-# if defined __GNUC__ && !defined __STRICT_ANSI__
+# if (defined __GNUC__ || __clang_major__ >= 4) && !defined __STRICT_ANSI__
[0 ... 0x80 / BITSET_WORD_BITS - 1] = BITSET_WORD_MAX
# else
# if 4 * BITSET_WORD_BITS < ASCII_CHARS