> On Aug 9, 2019, at 05:23, Chris Hall via cfe-users <cfe-users@lists.llvm.org> > wrote: > > > I find that __builtin_constant_p() works as expected, but > __has_builtin(constant_p) denies it !
I believe you need __has_builtin(__builtin_constant_p). > > Similarly __builtin_expect() and __builtin_types_compatible_p() ! > > Can I just assume these are all supported by all version of clang ? > > Chris > _______________________________________________ > cfe-users mailing list > cfe-users@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users