forked from Imagelibrary/binutils-gdb
gdb, gdbserver, gdbsupport: use [[noreturn]] instead of ATTRIBUTE_NORETURN
C++ 11 has a built-in attribute for this, no need to use a compat macro. Change-Id: I90e4220d26e8f3949d91761f8a13cd9c37da3875 Reviewed-by: Lancelot Six <lancelot.six@amd.com>
This commit is contained in:
@@ -191,7 +191,7 @@ throw_exception (gdb_exception &&exception)
|
||||
gdb_assert_not_reached ("invalid return reason");
|
||||
}
|
||||
|
||||
static void ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (3, 0)
|
||||
[[noreturn]] static void ATTRIBUTE_PRINTF (3, 0)
|
||||
throw_it (enum return_reason reason, enum errors error, const char *fmt,
|
||||
va_list ap)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user