http://llvm.org/bugs/show_bug.cgi?id=9157
Summary: Use of undeclared 'operator[]'
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
I have a file with this line of code:
operator[](i)[j] = right[ i][ j];
llvm-g++ and g++ both compile it fine. clang++ gives the error in the summary.
Apple clang version 2.0 (tags/Apple/clang-134) (based on LLVM 2.9svn)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs