commit | b45f75c5405cbc2b3c1d8e970ada6b56ff72825a | [log] [tgz] |
---|---|---|
author | Daniel Dunbar <daniel@zuster.org> | Mon Aug 04 20:02:37 2008 +0000 |
committer | Daniel Dunbar <daniel@zuster.org> | Mon Aug 04 20:02:37 2008 +0000 |
tree | e897922f7483e59c12290709e39935bd3727ceb8 | |
parent | 9cfd050c375982a96f95a29f21a0cea02c204b87 [diff] |
Fix several issues in checking of address-of expressions. - clang was erroneously accepting address-of applied to lvalue expressions involving pointer arithmetic. - clang was erroneously rejecting address-of applied to deref expressions of pointer-typed variables. - Improved existing test case. - Fixes: <rdar://problem/6113867>, <rdar://problem/6080158> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54326 91177308-0d34-0410-b5e6-96231b3b80d8