Skip to main content

IAR Embedded Workbench for Arm 9.70.x

cstat_restore

In this section:
Syntax
#pragma cstat_restore="tag"[,"tag"...]
Parameters

tag

The tag of a C-STAT check.

Description

Use this pragma directive to undo the effects of the most recent cstat_enable or cstat_disable directive for the same check(s).

Example
#pragma cstat_restore = "MISRAC2012-Rule-10.3"
    // ...
    // Messages about rule 10.3 suppressed here
    // ...