[LLVMbugs] [Bug 4846] Diagnostics for declaration typos can be terrible, and are in any case inconsistent

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 15 16:53:17 PDT 2012


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

Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Kaelyn Uhrain <rikka at google.com> 2012-06-15 18:53:17 CDT ---
As of r158573, clang suggests "struct" for "sturct" and recovers properly in
both places. The actual messages are different in the two examples given (the
first starts with "unknown type name" and the second with "use of undeclare
identifier") because they are triggered along different code paths taken by the
parser.

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