| Summary: | [checker] Suggest adding a checker for "no break at end of case" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Gil Barash <scobido1984> | ||||||
| Component: | cdt-codan | Assignee: | Elena Laskavaia <elaskavaia.cdt> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Elena Laskavaia <elaskavaia.cdt> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | cdtdoug, eclipse.sprigogin, malaperle, scobido1984 | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | 8.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Build Identifier: Eclipse I20100805-1700. Codan 8 In this example there should be two warnings: switch { case 1: // <- here case 2: /* no break */ // <- This is OK case 3: // <- here } Attached is a patch of my implementation for this checker Reproducible: Always