>
>
>
V3510. AUTOSAR. Declaration should cont…


V3510. AUTOSAR. Declaration should contain no more than two levels of pointer nesting.

This diagnostic rule is based on the software development guidelines developed by AUTOSAR (AUTomotive Open System ARchitecture).

The analyzer issues the warning when it detects a declaration that contains a nested pointer more than two levels deep. Such pointers obscure the code and, therefore, may lead to various mistakes.

Here is an example of code triggering this warning:

void foo(int **ppArr[])
{
  ....
}

This diagnostic is classified as:

  • AUTOSAR-A5.0.3