http://llvm.org/bugs/show_bug.cgi?id=9054
Summary: Clang should recognize 'foo-bar' as a typo for
'foo->bar'
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
This would be gravy.
struct foo {
int bar;
};
void test(struct foo *foo) {
foo-bar = 0;
}
Currently this is just an unrecoverable error.
--
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