On 09/08/2019 15:00, Matthew Fernandez wrote:
On Aug 9, 2019, at 05:23, Chris Hall via cfe-users 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).
Ah :-( So you do... sorry... I
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
___
cfe-user