commit | 1e76ce6e5f892c89c9958657d44c323fb70f748c | [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 | fc1d340169265375704404a8eec1d8acf1c2038d [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