AutosarC++17_10-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¶
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
only_extern¶
only_extern : bool = True
report_arrays_initialized_with_string_literals¶
report_arrays_initialized_with_string_literals : bool = True
report_definitions¶
report_definitions : bool = True