AutosarC++18_03-A5.10.1¶
A pointer to member virtual function shall only be tested for equality with null-pointer-constant
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
member_virtual_function_comparison |
Comparison of a member virtual function with non-nullptr. |
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
check_class_types¶
check_class_types : bool = False
require_nullptr¶
require_nullptr : bool = False