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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to