diff options
Diffstat (limited to 'gdbsupport/common-exceptions.cc')
-rw-r--r-- | gdbsupport/common-exceptions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbsupport/common-exceptions.cc b/gdbsupport/common-exceptions.cc index 5aa1612..8301fb5 100644 --- a/gdbsupport/common-exceptions.cc +++ b/gdbsupport/common-exceptions.cc @@ -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) { |