]> granicus.if.org Git - clang/commit
Fix typo in PrintfConversionSpecifier::isDoubleArg()
authorHans Wennborg <hans@hanshq.net>
Mon, 13 Feb 2012 10:32:27 +0000 (10:32 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 13 Feb 2012 10:32:27 +0000 (10:32 +0000)
commit4ee01ef7bd170b6f3f3f71882b407cd6408c5b1e
treed209594d27ccc3ce403fbeec2adc72c02f132fd3
parent86c3ae46250cdcc57778c27826060779a92f3815
Fix typo in PrintfConversionSpecifier::isDoubleArg()

This makes the printf diagnostics issue warnigns for %a, %A, %e, etc.
when used with the wrong argument.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150370 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/FormatString.h
test/Sema/format-strings.c