commit | 6e5218367c513fe02d1c7210023d40739ecb1572 | [log] [tgz] |
---|---|---|
author | Matt Beaumont-Gay <matthewbg@google.com> | Mon Sep 19 18:51:20 2011 +0000 |
committer | Matt Beaumont-Gay <matthewbg@google.com> | Mon Sep 19 18:51:20 2011 +0000 |
tree | 029683c54d09f7faae717a71e98d4f9ba9fdcd71 | |
parent | 71ac1e003b7a82ca6ac7ed76e4d0f9c6d4a1e30a [diff] |
Fix a QoI bug with overloaded operators inside macros. We were failing to set source locations and ranges in isUnusedResultAWarning for CXXOperatorCallExprs, leading to an "expression result unused" warning with absolutely no context if the expression was inside a macro. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140036 91177308-0d34-0410-b5e6-96231b3b80d8