AutosarC++18_10-A8.4.1¶
Functions shall not be defined using the ellipsis notation
Required inputs: IR
Calls to existing functions with variable arguments (such as printf) are allowed by this rule.
Rationale
Variable arguments are difficult to use correctly: if the number and types of the arguments passed by the caller does not match those expected by the callee, undefined behavior will occur.Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
ellipsis_parameter |
Function definitions shall not use ellipsis |
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
ignore_declarations¶
ignore_declarations : bool = True
ignore_inherited¶
ignore_inherited : bool = False