[LLVMbugs] [Bug 6800] New: Missing fix-it when operator-> is applied to a class type
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 6 15:43:31 PDT 2010
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: unassignedclangbugs at nondot.org
ReportedBy: dgregor at apple.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list