summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2013-01-12 00:54:16 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2013-01-12 00:54:16 +0000
commitb1e71a7d0cde313a2515bd2def492001e28ecf79 (patch)
tree683d4f0e5124111e083f0d09fa60a474aaaeac8d /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp
parent37494a176c8bfe274375c1deef124c149ba28150 (diff)
downloadbcm5719-llvm-b1e71a7d0cde313a2515bd2def492001e28ecf79.tar.gz
bcm5719-llvm-b1e71a7d0cde313a2515bd2def492001e28ecf79.zip
Fix -Wunused-comparison for comparisons in arguments to function-like macros.
Previously, -Wunused-comparison ignored comparisons in both macro bodies and macro arguments, but we would still emit a -Wunused-value warning for either. Now we correctly emit -Wunused-comparison for expressions in macro arguments. Also, add isMacroBodyExpansion to SourceManager, to go along with isMacroArgExpansion. llvm-svn: 172279
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud