FS2_Open
Open source remastering of the Freespace 2 engine
|
Macros to abstract compiler capabilities for the Clang toolchain. More...
Go to the source code of this file.
Macros | |
#define | SCP_FORMAT_STRING |
#define | SCP_FORMAT_STRING_ARGS(x, y) __attribute__((format(printf, x, y))) |
#define | __UNUSED __attribute__((__unused__)) |
#define | __ALIGNED(x) __attribute__((__aligned__(x))) |
#define | RESTRICT restrict |
#define | ASSUME(x) |
#define | Assertion(expr, msg, ...) |
#define | SIZE_T_ARG "%zu" |
#define | PTRDIFF_T_ARG "%zd" |
#define | NOEXCEPT noexcept |
#define | likely(x) __builtin_expect((long) !!(x), 1L) |
#define | unlikely(x) __builtin_expect((long) !!(x), 0L) |
Macros to abstract compiler capabilities for the Clang toolchain.
Definition in file clang.h.
#define __ALIGNED | ( | x | ) | __attribute__((__aligned__(x))) |
#define __UNUSED __attribute__((__unused__)) |
#define Assertion | ( | expr, | |
msg, | |||
... | |||
) |