Suppressions

Code annotations that suppress issues

Nested Rules

ConstructBasedSuppressions

Code annotations that suppress issues in selected constructs (statement/declaration)

DeadByEntity

Affects dead code issues, entity can be used to limit the issues

EnableDisable

Affects issues after the “Disable” comment until a matching “Enable” comment is found; supports a list of rules, justification separated by :

EnableDisableSingleRule

Affects issues after the “Disable” comment until a matching “Enable” comment is found; for a single rule, justification follows directly

FileWide

Affects issues in the same file

LineBasedSuppressions

Code annotations that suppress issues in selected lines

MagicNumber

Affects Miscellaneous-NoMagicNumber violations on the same line

ProjectWideSuppressions

Code annotations that suppress issues in the whole project

RhapsodyGeneratedCode

Affects issues in hand-written code being inserted into generated files by Rhapsody

RoutineBasedSuppressions

Code annotations that suppress issues in selected functions

SelectedMacro

Affects style violations in the given macro (all its invocations)

Options

  • Setting an option for this rule means setting the default for all nested rules.

  • The following places define options that affect this rule: CodeAnnotations, Analysis-GlobalOptions

  • This rule has no individual options.