diff options
| author | Matt Beaumont-Gay <matthewbg@google.com> | 2013-01-12 00:54:16 +0000 |
|---|---|---|
| committer | Matt Beaumont-Gay <matthewbg@google.com> | 2013-01-12 00:54:16 +0000 |
| commit | b1e71a7d0cde313a2515bd2def492001e28ecf79 (patch) | |
| tree | 683d4f0e5124111e083f0d09fa60a474aaaeac8d /llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp | |
| parent | 37494a176c8bfe274375c1deef124c149ba28150 (diff) | |
| download | bcm5719-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

