AutosarC++19_03-A18.5.11¶
“operator new” and “operator delete” shall be defined together
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
array_delete_missing |
Scope contains operator new[] but not operator delete[] |
None |
False |
array_mixed_visibility |
Scope contains both new[] and delete[] operators but the visibility differs |
None |
False |
array_new_missing |
Scope contains operator delete[] but not operator new[] |
None |
False |
delete_missing |
Scope contains operator new but not operator delete |
None |
False |
mixed_visibility |
Scope contains both new and delete operators but visibility differs |
None |
False |
new_missing |
Scope contains operator delete but not operator new |
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
This rule has no individual options.