We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b6fc1 commit afb68c4Copy full SHA for afb68c4
clang-tools-extra/test/clang-tidy/checkers/modernize/loop-convert-basic.cpp
@@ -1,6 +1,4 @@
1
-// RUN: %check_clang_tidy %s modernize-loop-convert %t -- -- -I %S/Inputs/loop-convert -isystem %clang_tidy_headers
2
-
3
-#include <cstddef>
+// RUN: %check_clang_tidy %s modernize-loop-convert %t -- -- -I %S/Inputs/loop-convert
4
5
#include "structures.h"
6
@@ -91,7 +89,7 @@ void f() {
91
89
// CHECK-FIXES-NEXT: Sum += I + 2;
92
90
93
int Matrix[N][12];
94
- size_t size = 0;
+ unsigned size = 0;
95
for (int I = 0; I < N; ++I) {
96
size += sizeof(Matrix[I]);
97
size += sizeof Matrix[I];
0 commit comments