diff options
author | Richard Trieu <rtrieu@google.com> | 2011-10-28 00:41:25 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2011-10-28 00:41:25 +0000 |
commit | 55733de16f492dadbf5f4d2809d6c610ba6d86ae (patch) | |
tree | 80152f1ab40cb82515366ce3138c5e927f264985 /lib/Sema/SemaExpr.cpp | |
parent | 61ffd09797d661ae4ae18674d144a27be2d2f5f3 (diff) |
Fix for PR9751 to change the behavior of -Wformat warnings. If the format
string is part of the function call, then there is no difference. If the
format string is not, the warning will point to the call site and a note
will point to where the format string is.
Fix-it hints for strings are moved to the note if a note is emitted. This will
prevent changes to format strings that may be used in multiple places.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions