mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
Merge branch 'analyzer-noreturn' into 'master'
gtestutils: Mark that g_assert_whatever() macros do not normally return Closes #1200 and #1288 See merge request GNOME/glib!1553
This commit is contained in:
commit
1135ca25fd
@ -467,7 +467,7 @@ void g_assertion_message (const char *domain,
|
|||||||
const char *file,
|
const char *file,
|
||||||
int line,
|
int line,
|
||||||
const char *func,
|
const char *func,
|
||||||
const char *message);
|
const char *message) G_ANALYZER_NORETURN;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
void g_assertion_message_expr (const char *domain,
|
void g_assertion_message_expr (const char *domain,
|
||||||
const char *file,
|
const char *file,
|
||||||
@ -482,7 +482,7 @@ void g_assertion_message_cmpstr (const char *domain,
|
|||||||
const char *expr,
|
const char *expr,
|
||||||
const char *arg1,
|
const char *arg1,
|
||||||
const char *cmp,
|
const char *cmp,
|
||||||
const char *arg2);
|
const char *arg2) G_ANALYZER_NORETURN;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
void g_assertion_message_cmpnum (const char *domain,
|
void g_assertion_message_cmpnum (const char *domain,
|
||||||
const char *file,
|
const char *file,
|
||||||
@ -492,7 +492,7 @@ void g_assertion_message_cmpnum (const char *domain,
|
|||||||
long double arg1,
|
long double arg1,
|
||||||
const char *cmp,
|
const char *cmp,
|
||||||
long double arg2,
|
long double arg2,
|
||||||
char numtype);
|
char numtype) G_ANALYZER_NORETURN;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
void g_assertion_message_error (const char *domain,
|
void g_assertion_message_error (const char *domain,
|
||||||
const char *file,
|
const char *file,
|
||||||
@ -501,7 +501,7 @@ void g_assertion_message_error (const char *domain,
|
|||||||
const char *expr,
|
const char *expr,
|
||||||
const GError *error,
|
const GError *error,
|
||||||
GQuark error_domain,
|
GQuark error_domain,
|
||||||
int error_code);
|
int error_code) G_ANALYZER_NORETURN;
|
||||||
GLIB_AVAILABLE_IN_ALL
|
GLIB_AVAILABLE_IN_ALL
|
||||||
void g_test_add_vtable (const char *testpath,
|
void g_test_add_vtable (const char *testpath,
|
||||||
gsize data_size,
|
gsize data_size,
|
||||||
|
Loading…
Reference in New Issue
Block a user