AutosarC++19_03-M5.0.18

>, >=, <, <= shall not be applied to objects of pointer type, except where they point to the same array

Required inputs: IR, StaticSemanticAnalysis

This check detects pointer comparisons between pointers that do not point into the same object (usually, an array).

Note

For legal reasons, this rule’s description is not part of the public documentation.