Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix -Wunused-comparison for comparisons in arguments to function-like macros. | Matt Beaumont-Gay | 2013-01-12 | 1 | -2/+4 |
| | | | | | | | | | | | 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 | ||||
* | Suppress -Wunused-value within macros from system headers. | Matt Beaumont-Gay | 2012-01-06 | 1 | -0/+10 |
Along the way, move a helper function from SemaChecking.cpp to a more accessible home in SourceManager. llvm-svn: 147692 |