https://llvm.org/bugs/show_bug.cgi?id=25301
Bug ID: 25301
Summary: very chatty error on expr "(?)"
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
consider:
void f() {
while (?) {
;
}
}
clang generates the following diagnostics:
error: expected expression
while (?) {
^
error: expected expression
while (?) {
^
error: expected ':'
while (?) {
^
:
note: to match this '?'
while (?) {
^
error: expected expression
while (?) {
^
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs