Hi C++ folks
We are deprecating the following rules:
- S3541 for C++: Allocation and deallocation functions should not be explicitly declared “static”
This decision was taken because:static
is redundant but is not harmful (and the level of code cluttering is very minimal).- the fact that static is redundant may not be obvious, so some people might prefer to be explicit about it
- S1199 for C, C++ and Objective-C: Nested code blocks should not be used
This decision was taken because in its current form, the rule reports too many false positives and nothing relevant can be done about it. - S3458 for C, C++ and Objective-C: Empty “case” clauses that fall through to the “default” should be omitted
This decision was taken because in its current form, the rule reports too many false positives and nothing relevant can be done about it.
Cheers