[cfe-commits] r149125 - /cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Jean-Daniel Dupas
devlists at shadowlab.org
Fri Jan 27 01:14:18 PST 2012
Author: jddupas
Date: Fri Jan 27 03:14:17 2012
New Revision: 149125
URL: http://llvm.org/viewvc/llvm-project?rev=149125&view=rev
Log:
Remove redundant checks.
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=149125&r1=149124&r2=149125&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Fri Jan 27 03:14:17 2012
@@ -2251,8 +2251,7 @@
// 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;
More information about the cfe-commits
mailing list