Re: improve clang support (3)

2020-08-16 Thread Bruno Haible
> clang supports __builtin_expect, even on Windows. Another use of __builtin_expect is here: 2020-08-16 Bruno Haible avltreehash-list, rbtreehash-list: Optimize also on clang. * lib/gl_anytreehash_list1.h (add_nodes_to_buckets): Use __builtin_expect also on clang. di

improve clang support (3)

2020-08-06 Thread Bruno Haible
clang supports __builtin_expect, even on Windows. Most Gnulib modules use the 'builtin-expect' module with its Autoconf test, however, some use the macros from lib/cdefs.h. 2020-08-06 Bruno Haible Use __builtin_expect with clang everywhere. * lib/cdefs.h (__glibc_unlikely, __