AutosarC++17_03-A10.3.1¶
Virtual function declaration shall contain exactly one of the three specifiers: (1) virtual, (2) override, (3) final
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
invalid_combination |
Use only one of (1) virtual, (2) override, (3) final. |
None |
False |
invalid_combination_nonoverriding |
Use virtual when not overriding, but neither override nor final. |
None |
False |
invalid_combination_overriding |
Use either override or final when overriding, but not virtual. |
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
detailed_message¶
detailed_message : bool = False
disable_for_destructors¶
disable_for_destructors : bool = False