AutosarC++18_03-A8.4.7¶
“in” parameters for “cheap to copy” types shall be passed by value
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
input_parameter |
Pass input parameters by value |
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_basic_types¶
allow_basic_types : set[bauhaus.ir.LIR_Class_Name] = {'C_Char_Type', 'Void_Type'}
exclude_operator_functions¶
exclude_operator_functions : bool = False
size_threshold¶
size_threshold : int = 2
word_size¶
word_size : int | None = None