diff options
| author | 2014-10-10 20:23:09 +0000 | |
|---|---|---|
| committer | 2014-10-10 20:23:09 +0000 | |
| commit | 6055bccdffcda19542775c7042a06508cd8f90ca (patch) | |
| tree | 36d9f3da96b63ab8911a56a3c5ac2147d6493652 /runtime/base/macros.h | |
| parent | b2a7ec2ad3f24c4094185cbf87bd0a39f727ffe7 (diff) | |
| parent | 647b1a86f518d8db0331b3d52a96392b7a62504b (diff) | |
Merge "Fix 2 new sets of clang compiler warnings."
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 |