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

           Summary: Weird error for ommitted semicolon
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Hi,
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to