[LLVMbugs] [Bug 3031] New: Duplicate / confusing diagnostic
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Nov 9 05:36:23 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=3031
Summary: Duplicate / confusing diagnostic
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: neil at daikokuya.co.uk
CC: llvmbugs at cs.uiuc.edu
Given
int (x), ;
clang gives
/tmp/foo.c:1:10: error: expected identifier or '('
int (x), ;
^
/tmp/foo.c:1:1: error: declarator requires an identifier
int (x), ;
^~~
2 diagnostics generated.
The second diagnostic is confusing and / or redundant.
--
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