mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
Merge branch 'mcatanzaro/coverity-noreturn' into 'master'
Implement G_ANALYZER_NORETURN for Coverity See merge request GNOME/glib!2039
This commit is contained in:
commit
346e4867ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user