AutosarC++18_03-M7.5.1¶
A function shall not return a reference or a pointer to an automatic variable (including parameters), defined within the function
Required inputs: IR
See Also
Rule Miscellaneous-NoLeakingReferenceToLocalNote
For legal reasons, this rule’s description is not part of the public documentation.