diff options
Diffstat (limited to 'runtime/base/macros.h')
| -rw-r--r-- | runtime/base/macros.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/base/macros.h b/runtime/base/macros.h index f5a38bbf35..bbe0f5a25a 100644 --- a/runtime/base/macros.h +++ b/runtime/base/macros.h @@ -177,6 +177,7 @@ char (&ArraySizeHelper(T (&array)[N]))[N]; #define PURE __attribute__ ((__pure__)) #define WARN_UNUSED __attribute__((warn_unused_result)) +#define NO_RETURN __attribute__((noreturn)) template<typename T> void UNUSED(const T&) {} #define UNREACHABLE __builtin_unreachable |