commit | ae0bafa229d076a0fb90b5aeccea7e3039c58751 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Mon Jun 20 07:52:11 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Mon Jun 20 07:52:11 2011 +0000 |
tree | 6d329e2afe0efa314e0feb5dfef54f65334311ae | |
parent | c04985647bbd54d53b1f1219287eddce8ff530b5 [diff] |
Fix a problem with the diagnostics of invalid arithmetic with function pointers I found while working on the NULL arithmetic warning. We here always assuming the LHS was the pointer, instead of using the selected pointer expression. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133428 91177308-0d34-0410-b5e6-96231b3b80d8