]> granicus.if.org Git - clang/commit
For printf format string checking, add support for positional format strings.
authorTed Kremenek <kremenek@apple.com>
Sat, 27 Feb 2010 01:41:03 +0000 (01:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Sat, 27 Feb 2010 01:41:03 +0000 (01:41 +0000)
commitefaff195ba1fa55b6fe0b0b2435b81451387d241
tree1923cd17053f841ed7e5035ace8f32637df29049
parentc8dfe5ece04e683106eb96c58a2999f70b53ac21
For printf format string checking, add support for positional format strings.
Along the way, coelesce some of the diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97297 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/PrintfFormatString.h
include/clang/Basic/DiagnosticSemaKinds.td
lib/Analysis/PrintfFormatString.cpp
lib/Sema/SemaChecking.cpp
test/Sema/format-strings.c