From 64440783bafd90e4b91f804755cdae44f7faede8 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 8 Apr 2018 11:56:47 -0700 Subject: [PATCH] Fix an issue with incorrect [[noreturn]] position in clang-cl (#701) --- fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fmt/format.h b/fmt/format.h index e6cd4a61..649d39ee 100644 --- a/fmt/format.h +++ b/fmt/format.h @@ -1027,7 +1027,7 @@ struct IntTraits { TypeSelector::digits <= 32>::Type MainType; }; -FMT_API FMT_NORETURN void report_unknown_type(char code, const char *type); +FMT_NORETURN FMT_API void report_unknown_type(char code, const char *type); // Static data is placed in this class template to allow header-only // configuration.