diff --git a/glib/gmacros.h b/glib/gmacros.h index 8071f91f2..5bba1d77e 100644 --- a/glib/gmacros.h +++ b/glib/gmacros.h @@ -760,6 +760,9 @@ #if g_macro__has_feature(attribute_analyzer_noreturn) && defined(__clang_analyzer__) #define G_ANALYZER_ANALYZING 1 #define G_ANALYZER_NORETURN __attribute__((analyzer_noreturn)) +#elif defined(__COVERITY__) +#define G_ANALYZER_ANALYZING 1 +#define G_ANALYZER_NORETURN __attribute__((noreturn)) #else #define G_ANALYZER_ANALYZING 0 #define G_ANALYZER_NORETURN