Go to the documentation of this file.
8 #define arraysize(array) (sizeof(array)/sizeof((array)[0]))
10 #ifndef ATTRIBUTE_NORETURN
12 #define ATTRIBUTE_NORETURN __attribute__((noreturn))
13 #elif defined(_MSC_VER)
14 #define ATTRIBUTE_NORETURN __declspec(noreturn)
16 #define ATTRIBUTE_NORETURN
20 #ifndef FALLTHROUGH_INTENDED
21 #if defined(__clang__)
22 #define FALLTHROUGH_INTENDED [[clang::fallthrough]]
23 #elif defined(__GNUC__) && __GNUC__ >= 7
24 #define FALLTHROUGH_INTENDED [[gnu::fallthrough]]
26 #define FALLTHROUGH_INTENDED do {} while (0)
30 #ifndef NO_THREAD_SAFETY_ANALYSIS
31 #define NO_THREAD_SAFETY_ANALYSIS
34 #endif // UTIL_UTIL_H_
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:49