aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2011-10-28 00:41:25 +0000
committerRichard Trieu <rtrieu@google.com>2011-10-28 00:41:25 +0000
commit55733de16f492dadbf5f4d2809d6c610ba6d86ae (patch)
tree80152f1ab40cb82515366ce3138c5e927f264985 /lib/Sema/SemaExpr.cpp
parent61ffd09797d661ae4ae18674d144a27be2d2f5f3 (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