![]() |
![]() |
4812 | ![]() |
||||
![]() | |||||||
| Annotations | |||||||
Continuous suppressions are a special type of annotation that affect all files in a translation unit. A continuous suppression annotation adds or removes messages from the current set of continuous suppressions for the current file. As the annotation affects all files and translation units, it is not possible to specify an individual annotation tag for this kind of suppression annotation. Example:
// PRQA S:S1 100 ++ // ERROR: Cannot add annotation tag with continuous suppression
int i ;
// PRQA S 100 --
If an annotation tag is required, then a range suppression annotation should be used.
Example:
// PRQA S:S1 100 END // OK
int i ;
// PRQA L:END
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |