[LLVMbugs] [Bug 9054] New: Clang should recognize 'foo-bar' as a typo for 'foo->bar'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 25 19:15:31 PST 2011


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: unassignedclangbugs at nondot.org
        ReportedBy: rjmccall at apple.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list