[previous] 4828 Invalid usage of predefined location tag.
Annotations

When referring to a location annotation tag from another annotation, there are some useful predefined locations tags which can also be used:

EOFEnd Of File.
++Add to set of continuous suppression messages.
--Remove from set of continuous suppression messages.
SEMISuppress to the first ';'.
PAREN*Suppress from the first '(' or '{' until its matching closing brace.
* not yet available

Example;


// PRQA S 100 EOF         // Suppress message 100 until the end of the current file.

In order to avoid confusion, it is not possible to redefine these tags.

Example;


// PRQA L:EOF             // Error cannot redefine tag 'EOF'

See also:

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents