Bug 398585 - make it possible to have more than one suppression comment for no-break
Summary: make it possible to have more than one suppression comment for no-break
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-codan (show other bugs)
Version: 8.1.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: CDT Codan Inbox CLA
QA Contact: Elena Laskavaia CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 00:38 EST by Amichai Schreiber CLA
Modified: 2013-01-20 00:38 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amichai Schreiber CLA 2013-01-20 00:38:00 EST
(Specifically I'm interested in the no-break suppression comments, but I guess the request makes as much sense for other types, if they exist (I didn't see any other places where a comment can suppress a warning)).

I'm working on a code that naturally has many developers contributing to it, using different development tools, and also naturally - not exactly one coherent coding style and conventions. As a result of this, they have different conventions for the comment they put at the end of switch-cases that have no break.
I would like codan to let me tell it about all the different comments, so that it wouldn't warn me about any of them.
An alternative solution would be the option to give a regex as a suppression comment.