Closed llvmbot closed 14 years ago
We didn't add any built-in candidates for the array subscript, because only pointers trigger that. Now arrays are decayed to pointers for this purpose.
Fixed in r86140.
At this point, we need very small reduced testcases to drive C++ forward. If we can't do that, I recommend closing this as invalid.
That's a massive test case. Do you think you could reduce it?
Extended Description
the attached fails with:
witten /tmp# clang -fsyntax-only jsapi.cpp
Assertion failed: (Result.isInvalid() && "C++ subscript operator overloading is missing candidates!"), function CreateOverloadedArraySubscriptExpr, file SemaOverload.cpp, line 5045. Stack dump: