Refine note 952 to cope with array function parameters for C++
Note 952 is issued for "parameter symbol of function symbol".
C99 supports function parameters of the form param[const], C++ does not.
MISRA C++:2008 Rule 5–0–15 (Required) states "Array indexing shall be the only form of pointer arithmetic". This implies that when a function performs array indexing, the array cannot be passed (syntactically) as a pointer and it has to be passed as array.
But then PC-lint issues a violation of Rule 7–1–1 (Required) "A variable which is not modifed shall be const qualifed."
and as it seems there is no way around it - either 7-1-1 or 5-0-15 has to be violated. Maybe 7-1-1 is poorly defined by MISRA C++ and there should have been an exception for array parameters.