AutosarC++18_03-A9.6.1¶
Bit-fields shall be either unsigned integral, or enumeration (with underlying type of unsigned integral type)
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
invalid_bitfield |
Bit-fields shall be either unsigned integral, or enumeration (with underlying type of unsigned integral type). |
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
allow_bool_bitfields¶
allow_bool_bitfields : bool = False
Setting this option to true will not report bit-fields of type bool.