commit | 337c6b9f5d502dc1c5acea628bf7bf9e828efc0e | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Nov 19 17:17:41 2008 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Nov 19 17:17:41 2008 +0000 |
tree | 74b96efaf3032268cc7547d824cced4c93574bb4 | |
parent | 5cb93b8bf009c4b0ae09b71ba85f54b2a7ea8022 [diff] |
Support overloading of the subscript operator[], including support for built-in operator candidates. Test overloading of '&' and ','. In C++, a comma expression is an lvalue if its right-hand subexpression is an lvalue. Update Expr::isLvalue accordingly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59643 91177308-0d34-0410-b5e6-96231b3b80d8