[cfe-users] __builtin_constant_p(), __builtin_expect() and __builtin_types_compatible_p() and __has_builtin()

Chris Hall via cfe-users cfe-users at lists.llvm.org
Fri Aug 9 05:23:26 PDT 2019


I find that __builtin_constant_p() works as expected, but 
__has_builtin(constant_p) denies it !

Similarly __builtin_expect() and __builtin_types_compatible_p() !

Can I just assume these are all supported by all version of clang ?

Chris



More information about the cfe-users mailing list