Commit 8f41d28
committed
[c-index-test] Fix warnings
This patch fixes:
clang/tools/c-index-test/c-index-test.c:1240:15: error: mixing
declarations and code is a C99 extension
[-Werror,-Wdeclaration-after-statement]
clang/tools/c-index-test/c-index-test.c:1367:14: error: mixing
declarations and code is a C99 extension
[-Werror,-Wdeclaration-after-statement]
clang/tools/c-index-test/c-index-test.c:1468:14: error: mixing
declarations and code is a C99 extension
[-Werror,-Wdeclaration-after-statement]1 parent 6b67aac commit 8f41d28
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1231 | 1231 | | |
1232 | 1232 | | |
1233 | 1233 | | |
| 1234 | + | |
| 1235 | + | |
1234 | 1236 | | |
1235 | 1237 | | |
1236 | 1238 | | |
1237 | 1239 | | |
1238 | 1240 | | |
1239 | 1241 | | |
1240 | | - | |
1241 | | - | |
| 1242 | + | |
| 1243 | + | |
1242 | 1244 | | |
1243 | 1245 | | |
1244 | 1246 | | |
| |||
1363 | 1365 | | |
1364 | 1366 | | |
1365 | 1367 | | |
| 1368 | + | |
1366 | 1369 | | |
1367 | | - | |
| 1370 | + | |
1368 | 1371 | | |
1369 | 1372 | | |
1370 | 1373 | | |
| |||
1461 | 1464 | | |
1462 | 1465 | | |
1463 | 1466 | | |
| 1467 | + | |
1464 | 1468 | | |
1465 | 1469 | | |
1466 | 1470 | | |
1467 | 1471 | | |
1468 | | - | |
| 1472 | + | |
1469 | 1473 | | |
1470 | 1474 | | |
1471 | 1475 | | |
| |||
0 commit comments