]> granicus.if.org Git - clang/commit
Format string analysis: give 'q' its own enumerator.
authorHans Wennborg <hans@hanshq.net>
Thu, 16 Feb 2012 16:34:54 +0000 (16:34 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 16 Feb 2012 16:34:54 +0000 (16:34 +0000)
commit32addd519c6699000ff79c387a1c87f0ab7c3698
tree310f61f2bf177db587fe8452e88c2c12d2740b5d
parentd1ac03ebac3ab5a8456b955e3f8634f786843f9a
Format string analysis: give 'q' its own enumerator.

This is in preparation for being able to warn about 'q' and other
non-standard format string features.

It also allows us to print its name correctly.

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