http://llvm.org/bugs/show_bug.cgi?id=9617
Summary: warn on semi-colon after function definition
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
I'd like a warning on this code:
void foo() { };
with fixit to remove the trailing semi-colon. Comeau says "error: extra ";"
ignored", gcc and clang accept the code with no comment.
(This code is valid, right?)
--
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