[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Toggel CDT checking with
|
Hi Alena,
I will rediscuss this requirement with the stakeholders if they really want to pollute source code with Codan lines. Your argument is valid, although this solution is used in a lot beautifiers/QA tools. Even Eclipse Java formatter can be turn on/off through tags in source code (// @formatter:[on|off]). If I cannot persuade the stakeholders, it might be a solution if we can obtain the patch where this bug was implemented, so we can use it in our own Codan checker. Can you give instructions how to incorperate the patch in our plugin?
Dennis Gallas
Van:
Alena Laskavaia <laskava@xxxxxxxxx>
Aan:
Dennis Gallas <dennis.gallas@xxxxxxxx>
Cc:
CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Verzonden:
5-1-2016 15:19
Onderwerp:
Re: Toggel CDT checking with
There are suppression rules per file/per error type. Some checkers support suppression by argument.
It is not hard to add it just a bad idea in general and bad requirement to enforce suppression by comment in the code.
If you want to contribute this solution we can continue discussion on this bug.