]> granicus.if.org Git - clang/commit
Refactor the logic for printf argument type-checking into analyze_printf::ArgTypeResult.
authorTed Kremenek <kremenek@apple.com>
Tue, 16 Feb 2010 01:46:59 +0000 (01:46 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 16 Feb 2010 01:46:59 +0000 (01:46 +0000)
commit4e4b30ec62d78b24e6556fea2624855c193d0e3e
treec4d277ecc23e3313dd7145b30d068e3fb16c4b44
parent252bee91e9961d9182323c4017092f90d6a09b1d
Refactor the logic for printf argument type-checking into analyze_printf::ArgTypeResult.
Implement printf argument type checking for '%s'.

Fixes <rdar://problem/3065808>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96310 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/Analyses/PrintfFormatString.h
lib/Analysis/PrintfFormatString.cpp
lib/Sema/SemaChecking.cpp
test/Sema/block-printf-attribute-1.c
test/Sema/format-strings.c