AutosarC++18_03-A5.0.4

Pointer arithmetic shall not be used with pointers to non-final classes

Required inputs: IR

Possible Messages

Key

Text

Severity

Disabled

non_final_pointer_arithmetic

Pointer arithmetic on non-final classes not allowed

None

False

Options

consider_non_base_final

consider_non_base_final : bool = False

Whether to consider a class that is not used as a base class as a sort-of final class.