Skip to content

Commit 3131a58

Browse files
committed
Format
1 parent 7814f6a commit 3131a58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/lib/Sema/SemaDeclAttr.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3633,7 +3633,8 @@ static FormatAttrKind getFormatAttrKind(StringRef Format) {
36333633

36343634
// Otherwise, check for supported formats.
36353635
.Cases({"gnu_scanf", "scanf", "gnu_printf", "printf", "printf0",
3636-
"gnu_strfmon", "strfmon"}, SupportedFormat)
3636+
"gnu_strfmon", "strfmon"},
3637+
SupportedFormat)
36373638
.Cases({"cmn_err", "vcmn_err", "zcmn_err"}, SupportedFormat)
36383639
.Cases({"kprintf", "syslog"}, SupportedFormat) // OpenBSD.
36393640
.Case("freebsd_kprintf", SupportedFormat) // FreeBSD.

0 commit comments

Comments
 (0)