search for: __has_extension

Displaying 5 results from an estimated 5 matches for "__has_extension".

2019 Dec 29
2
__c11_atomic builtins' input requirements
...? Is it required that the destination argument be annotated as _Atomic like the corresponding standard c11 functions require? The following code in libcxx/include/config implies that the c11 atomic builtins should be substituted for gcc atomic builtins if present: #if __has_feature(cxx_atomic) || __has_extension(c_atomic) || __has_keyword(_Atomic) # define _LIBCPP_HAS_C_ATOMIC_IMP #elif defined(_LIBCPP_COMPILER_GCC) # define _LIBCPP_HAS_GCC_ATOMIC_IMP #endif To implement atomic_ref, it might be cleaner to use the gcc builtins. By doing so, we avoid depending on the internals of the c11 atomic builtin...
2014 Feb 25
2
[LLVMdev] RFC: Adding __INTEGRATED_ASSEMLER__ macro
...ong long via the > preprocessor. > But you've just said: "the IAS does not support pre-UAL syntax". I think this precisely answers the question. Add "__has_feature(some_spelling_of_what_UAL_stands_for)" which says specifically that the UAL syntax is supported. And/or, __has_extension(...) for the name of the pre-UAL syntax which could hypothetically be supported as an extension, but isn't in Clang. And/or have the UAL-syntax specify a name of a preprocessor macro that all conforming compilers that support this syntax are required to define. Again, here we have a concrete b...
2016 Sep 22
0
[ANNOUNCE] xproto 7.0.30
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Huddleston Sequoia (5): Xfuncproto.h: Define __has_feature() if it isn't already Xfuncproto.h: Define __has_extension() if it isn't already Xfuncproto: Add support for _X_DEPRECATED_MSG() macro Xfuncproto: Add support for _X_NOTSAN macro xproto 7.0.30 git tag: xproto-7.0.30 https://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.30.tar.bz2 MD5: a2dd5be695dbf2993402c4916c04b2c1 xp...
2016 Sep 23
0
[ANNOUNCE] xproto 7.0.31
A bit of a brownbag release; sorry I didn't catch the typo in review. Keith Packard (2): Fix typo __has_extenstion -> __has_extension xproto 7.0.31 git tag: xproto-7.0.31 http://xorg.freedesktop.org/archive/individual/proto/xproto-7.0.31.tar.bz2 MD5: 16791f7ca8c51a20608af11702e51083 xproto-7.0.31.tar.bz2 SHA1: 779fa333c5522cca40ca810c25a8fa60b6ccedfb xproto-7.0.31.tar.bz2 SHA256: c6f9747da0bd3a95f86b17fb8dd5e717c8f3ab7...
2014 Feb 24
3
[LLVMdev] RFC: Adding __INTEGRATED_ASSEMLER__ macro
First, I would assume this would be better spelled as: __has_feature(integrated_assembler) But I agree with others that "integrated assembler" isn't a feature which should be observable in source code. On Sun, Feb 23, 2014 at 4:27 PM, Renato Golin <renato.golin at linaro.org>wrote: > On a higher level, there's the quality issue. People should test for >