AutosarC++18_03-A20.8.1ΒΆ
An already-owned pointer value shall not be stored in an unrelated smart pointer
Required inputs: IR, StaticSemanticAnalysis
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
pass |
Passing stored pointer to unrelated smart pointer |
None |
False |
store |
Pointer stored in unrelated smart pointers |
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.