|
libFirm
|
Loading...
Searching...
No Matches
11#ifndef FIRM_FUNCATTR_H
12#define FIRM_FUNCATTR_H
21# define FIRM_NOTHROW throw ()
32# define FIRM_PRINTF(a,b) __attribute__((__format__(__printf__, a, b)))
34# define FIRM_PRINTF(a,b)
41#if defined(__GNUC__) && __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 70)
42# define FIRM_NORETURN __attribute__((__noreturn__)) void
43#elif defined(__STDC__) && (__STDC_VERSION__ >= 201112L)
44# define FIRM_NORETURN _Noreturn void
45#elif defined(_MSC_VER)
46# define FIRM_NORETURN void __declspec(noreturn)
48# define FIRM_NORETURN void
59#if defined(__GNUC__) && __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 70)
60# define FIRM_NORETURN_FUNCPTR __attribute__((__noreturn__)) void
62# define FIRM_NORETURN_FUNCPTR void