1 .. title:: clang-tidy - readability-misplaced-array-index
3 readability-misplaced-array-index
4 =================================
6 This check warns for unusual array index syntax.
8 The following code has unusual array index syntax:
12 void f(int *X, int Y) {
20 void f(int *X, int Y) {
24 The check warns about such unusual syntax for readability reasons:
25 * There are programmers that are not familiar with this unusual syntax.
26 * It is possible that variables are mixed up.