Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 744 Bytes

File metadata and controls

22 lines (14 loc) · 744 Bytes

7. Enhance source code semantics

Overview

Leverage elements from recent Fortran standards to further improve the clarity and intent of code statements beyond previous recommendations.

Checks

  • PWR003: Explicitly declare pure functions.

  • PWR072: Explicitly declare the 'save' attribute or split the variable initialization to prevent unintended behavior.

  • Planned: Prefer variable initializations at declaration instead of data or block data statements.

  • Planned: Add an explicit parameter attribute to constant variables.

  • Planned: Explicitly declare elemental functions.