AutosarC++18_03-A3.1.4

When an array with external linkage is declared, its size shall be stated explicitly

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

unbounded_array

Array declaration with unknown size.

None

False

Options

only_extern

only_extern : bool = True

Whether to consider only extern declared arrays.
 

report_arrays_initialized_with_string_literals

report_arrays_initialized_with_string_literals : bool = True

Whether to report character arrays without a bound that are properly initialized using a string literal. This also applies to wide character arrays.
 

report_definitions

report_definitions : bool = True

Whether definitions of array variables should also be reported.