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 | c3cd6f7a5d33ad44f6c9cf4faa7046c77baa128e (patch) | |
tree | 79504996f06f1957050e8acb8c99e878ee0aefe0 /include/clang/Frontend/CompilerInstance.h | |
parent | c328d9c22a4397dd7313d06be5b82d700297b246 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/CompilerInstance.h')
0 files changed, 0 insertions, 0 deletions