AutosarC++18_03-A12.1.5¶
Common class initialization for non-constant members shall be done by a delegating constructor
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
delegating_constructor |
Use delegating constructor for common 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_copy_move_constructor¶
allow_copy_move_constructor : bool = False
only_report_if_delegate_constructor_exists¶
only_report_if_delegate_constructor_exists : bool = False
only_report_if_more_than_common_field¶
only_report_if_more_than_common_field : int = 1
only_report_if_more_than_constructors¶
only_report_if_more_than_constructors : int = 1