diff options
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index bdf95fa582..948aff93fa 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -2251,8 +2251,7 @@ static FormatAttrKind getFormatAttrKind(StringRef Format) { // Otherwise, check for supported formats. if (Format == "scanf" || Format == "printf" || Format == "printf0" || - Format == "strfmon" || Format == "cmn_err" || Format == "strftime" || - Format == "NSString" || Format == "CFString" || Format == "vcmn_err" || + Format == "strfmon" || Format == "cmn_err" || Format == "vcmn_err" || Format == "zcmn_err" || Format == "kprintf") // OpenBSD. return SupportedFormat; |