AutosarC++19_03-A7.1.7¶
Each expression statement and identifier declaration shall be placed on a separate line
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
multi_declaration |
Multiple declarators in single declaration |
None |
False |
multiple_statements_per_line |
Multiple statements per line. |
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_in_for_loop_init¶
allow_in_for_loop_init : bool = True
allow_uninitialized_simple_type¶
allow_uninitialized_simple_type : bool = False
ignore_stmts¶
ignore_stmts : set[bauhaus.ir.PIR_Class_Name] = {'C_For_Loop', 'General_Statement_Sequence'}