]> granicus.if.org Git - clang/commit
Don't print fixits for format specifiers in cases where the fixit does not actually...
authorEli Friedman <eli.friedman@gmail.com>
Wed, 27 Apr 2011 22:06:20 +0000 (22:06 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Wed, 27 Apr 2011 22:06:20 +0000 (22:06 +0000)
commit06d88ec4204be7af2cf935f39a3e3391d281ad52
treef0169a48c90aa42323d6144bd18d2a2ef476817f
parent251c27b6299a841d97901a014d02e4a62f1b6e8e
Don't print fixits for format specifiers in cases where the fixit does not actually fix the warning. PR8781.

I'm not sure what the preferred way to write a test for whether a fixit is emitted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130335 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/PrintfFormatString.cpp