AutosarC++17_03-A8.5.2¶
Braced-initialization {}, without equals sign, shall be used for variable initialization
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
old_style_variable_init |
Braced-initialization {}, without equals sign, shall be used for variable initialization. |
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_auto¶
allow_auto : bool = False
allow_expressions¶
allow_expressions : set[bauhaus.ir.PIR_Class_Name] = set()