[llvm-bugs] [Bug 39111] New: -Wextra-semi isn't pedantic enough
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 28 03:38:33 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=39111
Bug ID: 39111
Summary: -Wextra-semi isn't pedantic enough
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: lebedev.ri at gmail.com
CC: llvm-bugs at lists.llvm.org
void test() {}
; // <- extra semi, diagnosed
void test2(int x) {
switch(x){
}
; // <- extra semi, not diagnosed
; // <- extra semi, not diagnosed
}
https://godbolt.org/z/KDRI6Z
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180928/b3377741/attachment.html>
More information about the llvm-bugs
mailing list