http://llvm.org/bugs/show_bug.cgi?id=6800
Summary: Missing fix-it when operator-> is applied to a class
type
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Keywords: quality-of-implementation
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
blackthorn:clang dgregor$ cat t.cpp
struct X { int member; };
int f(X x) {
return x->member;
}
blackthorn:clang dgregor$ clang++ t.cpp
t.cpp:4:11: error: member reference type 'X' is not a pointer
return x->member;
~^
1 diagnostic generated.
--
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