Skip to content

Commit 900183c

Browse files
committed
Fix
1 parent e80bca1 commit 900183c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3632,8 +3632,8 @@ static FormatAttrKind getFormatAttrKind(StringRef Format) {
36323632
.Cases({"gnu_strftime", "strftime"}, StrftimeFormat)
36333633

36343634
// Otherwise, check for supported formats.
3635-
.Cases({"gnu_scanf", "scanf", "gnu_printf", "printf", "printf0"},
3636-
"gnu_strfmon", "strfmon", SupportedFormat)
3635+
.Cases({"gnu_scanf", "scanf", "gnu_printf", "printf", "printf0",
3636+
"gnu_strfmon", "strfmon"}, SupportedFormat)
36373637
.Cases({"cmn_err", "vcmn_err", "zcmn_err"}, SupportedFormat)
36383638
.Cases({"kprintf", "syslog"}, SupportedFormat) // OpenBSD.
36393639
.Case("freebsd_kprintf", SupportedFormat) // FreeBSD.

0 commit comments

Comments
 (0)