[LLVMbugs] [Bug 5943] New: no misspelling info for struct field

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jan 4 18:12:35 PST 2010


http://llvm.org/bugs/show_bug.cgi?id=5943

           Summary: no misspelling info for struct field
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: quality-of-implementation
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


$ cat t.c
struct foo {
  int xyz;
};

void t(struct foo *P) {
  P->x;
}
$ clang t.c
t.c:7:6: error: no member named 'x' in 'struct foo'
  P->x;
  ~  ^

this should suggest "xyz" :)


-- 
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