AutosarC++18_10-A4.10.1¶
Only nullptr literal shall be used as the null-pointer-constant
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
null_constant |
Only nullptr literal shall be used as the null-pointer-constant. |
None |
False |
zero_as_null |
Use of literal zero (0) as null-pointer-constant, use {} instead |
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
require_nullptr¶
require_nullptr : bool = True