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