diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-01-28 00:17:51 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-01-28 00:17:51 +0000 |
commit | f291976ecf537dc4f2d5537b1664d47ff4b94865 (patch) | |
tree | 5ea28f00ccd25e7e8add8c4cba3a16b26376168e /lib/Analysis/PrintfFormatString.cpp | |
parent | c7ae51a3cd9460db8280e8623c90614f246e46d2 (diff) |
Remove invalid conversion specifiers from format string checking.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PrintfFormatString.cpp')
-rw-r--r-- | lib/Analysis/PrintfFormatString.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Analysis/PrintfFormatString.cpp b/lib/Analysis/PrintfFormatString.cpp index b4dce9ffcc..d7b9a21a3d 100644 --- a/lib/Analysis/PrintfFormatString.cpp +++ b/lib/Analysis/PrintfFormatString.cpp @@ -191,11 +191,6 @@ static FormatSpecifierResult ParseFormatSpecifier(printf::FormatStringHandler &H // Finally, look for the conversion specifier. ConversionSpecifier::Kind cs; switch (*I) { - case 'D': - case 'O': - case 'U': - case 'C': - case 'S': default: H.HandleInvalidConversionSpecifier(I); return true; |