util: make offsetof/parent-of-member actually constexpr
This commit is contained in:
1 parent
f3fa680d5d
commit
da59334c5e
6 files changed
+211
-35
No files matched your search
@@ -34,6 +34,7 @@
|
||||
#define ALIGNED(algn) __attribute__((aligned(algn)))
|
||||
#define NORETURN __attribute__((noreturn))
|
||||
#define WEAK_SYMBOL __attribute__((weak))
|
||||
#define ALWAYS_INLINE_LAMBDA __attribute__((always_inline))
|
||||
#define ALWAYS_INLINE inline __attribute__((always_inline))
|
||||
#define NOINLINE __attribute__((noinline))
|
||||
|
||||
|
||||
Reference in new issue
Block a user