[LLVMbugs] [Bug 6180] New: Weird error for ommitted semicolon

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jan 30 06:11:09 PST 2010


           Summary: Weird error for ommitted semicolon
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: c.r1 at gmx.de
                CC: llvmbugs at cs.uiuc.edu

in the attached testcase, one semicolon is missing. The parser now complains on
the last line in the file, which consists of whitespace, producing a weird,
not-so-helping diagnostic. Maybe it should point to the line with the }, or the
last line which has source code, or it could even recover+fixit from that
(seemingly) easy 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