]> granicus.if.org Git - clang/commit
Switch Sema over to using the new implementation of format string
authorTed Kremenek <kremenek@apple.com>
Fri, 29 Jan 2010 20:55:36 +0000 (20:55 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 29 Jan 2010 20:55:36 +0000 (20:55 +0000)
commitf88c8e02da48afea6a04091f675af5c4facd99f1
tree3bf207036e6ce36d2ae0429b30efab2fa99f9a6e
parent4dcb18ff9d92c66c78077ac5cae4b83af37292e4
Switch Sema over to using the new implementation of format string
checking.  It passes all existing tests, and the diagnostics have been
refined to provide better range information (we now highlight
individual format specifiers) and more precise wording in the
diagnostics.

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