From c38b8c6d12be99cd851315c60b570a0548fd4b95 Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Wed, 19 Nov 2025 12:45:05 -0800 Subject: [PATCH] restore [[noreturn]] --- Utilities/StrFmt.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Utilities/StrFmt.h b/Utilities/StrFmt.h index ac503de277..5eba199e26 100644 --- a/Utilities/StrFmt.h +++ b/Utilities/StrFmt.h @@ -392,6 +392,10 @@ namespace fmt { raw_throw_exception(src_loc, reinterpret_cast(fmt), type_info_v, fmt_args_t{fmt_unveil::get(args)...}); } + +#if !defined(_MSC_VER) || defined(__clang__) + [[noreturn]] ~throw_exception(); +#endif }; template