[cfe-commits] [PATCH] Improve diagnostics on missing expression in switch statements
David Majnemer
david.majnemer at gmail.com
Wed Jun 8 23:59:44 PDT 2011
Hi,
I think that clang's diagnostics for switch statements missing
expressions could be improved a little bit.
Attached is a patch that will move the diagnostic to right after the
colon and properly suggests to insert an empty expression.
--
David Majnemer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: switch_case_label.patch
Type: application/octet-stream
Size: 1506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110609/5b01c850/attachment.obj>
More information about the cfe-commits
mailing list