Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Provide a NORETURN_ATTRIBUTE macro similar to PRINTF_ATTRIBUTE | Justus Winter | 2012-09-27 |
| | | | | | | | | This attribute is understood by gcc since version 2.5. clang provides support for testing for function attributes using __has_attribute. For other compilers this macro evaluates to the empty string. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> | ||
* | Provide a __has_attribute compatibility macro | Justus Winter | 2012-09-27 |
__has_attribute is defined by clang and tests whether a given function attribute is supported by clang. Add a compatibility macro for other compilers. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de> |