AutosarC++18_10-A9.6.1

Data types used for interfacing with hardware or conforming to communication protocols shall be trivial, standard-layout and only contain members of types with defined sizes

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

member_size

Type used for interfacing with hardware contains member of types without defined size.

None

False

standard_layout

Type used for interfacing with hardware does not have standard-layout.

None

False

trivial

Type used for interfacing with hardware is not trivial.

None

False

Options

check_pod_types

check_pod_types : bool = True

Consider all POD types as types used for interfacing with hardware or conforming to communication protocols.
 

relevant_types

relevant_types : set[bauhaus.analysis.config.QualifiedName] = set()

Types considered to be used for interfacing with hardware or conforming to communication protocols.