[LLVMbugs] [Bug 13066] New: produce a better diagnostic for a missing comma between function parameters
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Jun 9 19:51:04 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13066
Bug #: 13066
Summary: produce a better diagnostic for a missing comma
between function parameters
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
<stdin>:2:8: error: expected ')'
int b) {}
^
<stdin>:1:7: note: to match this '('
void f(int a
^
It would be awesome if we could check to see if a decl-specifier comes next,
and instead diagnose this as:
<stdin>:1:13: error: expected ',' after parameter
void f(int a
^
,
--
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