gecko-dev/tools/clang-tidy/test/modernize-loop-convert.cpp

8 строки
107 B
C++

int arr[6] = {1, 2, 3, 4, 5, 6};
void bar(void) {
for (int i = 0; i < 6; ++i) {
(void)arr[i];
}
}