* lib/regex_internal.h (re_token_t): Use a single byte for the type also
with clang.
+2020-08-16 Bruno Haible <bruno@clisp.org>
+
+ regex: Use space optimization also with clang.
+ * lib/regex_internal.h (re_token_t): Use a single byte for the type also
+ with clang.
+
2020-08-16 Bruno Haible <bruno@clisp.org>
Use _Static_assert and static_assert primitives when present on clang.
Idx idx; /* for BACK_REF */
re_context_type ctx_type; /* for ANCHOR */
} opr;
-#if __GNUC__ >= 2 && !defined __STRICT_ANSI__
+#if (__GNUC__ >= 2 || defined __clang__) && !defined __STRICT_ANSI__
re_token_type_t type : 8;
#else
re_token_type_t type;