Main Content

AUTOSAR C++14 Rule A2-11-1

Volatile keyword shall not be used

Description

Rule Definition

Volatile keyword shall not be used.

Polyspace Implementation

Reports if volatile keyword is used.

Troubleshooting

If you expect a rule violation but Polyspace® does not report it, see Diagnose Why Coding Standard Violations Do Not Appear as Expected.

Check Information

Group: Lexical Conventions
Category: Required, Automated

Version History

Introduced in R2019a