commit | 1eb3e1003d5cda4d47f54321d81d678c26981e7a | [log] [tgz] |
---|---|---|
author | John McCall <rjmccall@apple.com> | Thu Jan 07 02:04:15 2010 +0000 |
committer | John McCall <rjmccall@apple.com> | Thu Jan 07 02:04:15 2010 +0000 |
tree | fe2188348951fe3453610295682edb298514735d | |
parent | 782f2f52b78d8ca785110398a7f7b56b830b9ac7 [diff] |
Improve the lead diagnostic for C++ object subscript expressions with no viable overloads. Use a different message when the class provides no operator[] overloads at all; use it for operator(), too. Partially addresses PR 5900. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92894 91177308-0d34-0410-b5e6-96231b3b80d8