]> granicus.if.org Git - clang/commit
Small fixes regarding printf fix suggestions.
authorTom Care <tcare@apple.com>
Fri, 11 Jun 2010 04:22:02 +0000 (04:22 +0000)
committerTom Care <tcare@apple.com>
Fri, 11 Jun 2010 04:22:02 +0000 (04:22 +0000)
commit876e994957472eda4b40136d4e1d6e08e2be338f
treee11b0094f73ab59b6f69a7df8ab80cbcf588830c
parente60cea829b3bc45fcfedbfdb08cffb61f5bde79f
Small fixes regarding printf fix suggestions.
- Added some handling of flags that become invalid when changing the conversion specifier.
- Changed fixit behavior to remove unnecessary length modifiers.
- Separated some tests out and added some comments.

modified:
  lib/Analysis/PrintfFormatString.cpp
  test/Sema/format-strings-fixit.c

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/PrintfFormatString.cpp
test/Sema/format-strings-fixit.c