]> granicus.if.org Git - clang/commit
Added notion of '*' specified format width/specifiers when checking
authorTed Kremenek <kremenek@apple.com>
Fri, 12 Oct 2007 20:51:52 +0000 (20:51 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 12 Oct 2007 20:51:52 +0000 (20:51 +0000)
commit580b664e9c2acd3bffddfea79b1ce2863cfd9dd0
tree787c494c41ab1c4186a0df6d69eecf70463b9c0e
parent3457e8cbaa8a6fec5d69173450655fe0bc38634b
Added notion of '*' specified format width/specifiers when checking
printf format strings.  Added type checking to see if the matching
width/precision argument was of type 'int'.

Thanks to Anders Carlsson for reporting this missing feature.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42933 91177308-0d34-0410-b5e6-96231b3b80d8
Sema/SemaChecking.cpp
include/clang/Basic/DiagnosticKinds.def
test/Sema/format-strings.c