http://llvm.org/bugs/show_bug.cgi?id=4546
Summary: Implement warning for irrelevant switch statements
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
MSVC has a nice warning for code like
--
switch (foo) {
}
--
or
--
switch (foo) {
default:
...
}
--
which would be nice to have in clang (if only to improve portability for
clients who would like their code to be warning free under MSVC).
--
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