AutosarC++19_03-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¶
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
check_pod_types¶
check_pod_types : bool = True
relevant_types¶
relevant_types : set[bauhaus.analysis.config.QualifiedName] = set()