Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-12 | Fix -Wunused-comparison for comparisons in arguments to function-like macros. | Matt Beaumont-Gay | |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172279 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2012-01-06 | Suppress -Wunused-value within macros from system headers. | Matt Beaumont-Gay | |
Along the way, move a helper function from SemaChecking.cpp to a more accessible home in SourceManager. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147692 91177308-0d34-0410-b5e6-96231b3b80d8 |