aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.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
commit03cf7b70e0d643b28b17870ab78940e7006b4313 (patch)
tree40ff561f212dcc054eeb6b07d1dd0330fe5bd5e4 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parent080a499ee0e96d3fc9fc8587ef4fc663c364c23d (diff)
downloadllvm-03cf7b70e0d643b28b17870ab78940e7006b4313.zip
llvm-03cf7b70e0d643b28b17870ab78940e7006b4313.tar.gz
llvm-03cf7b70e0d643b28b17870ab78940e7006b4313.tar.bz2
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. llvm-svn: 143168
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions