Commit 46a8c09
authored
[NFC][analyzer] Conversion to CheckerFamily: RetainCountChecker (#152138)
This commit converts RetainCountChecker to the new checker family
framework that was introduced in the commit
6833076
This commit also performs some minor cleanup around the parts that had
to be changed, but lots of technical debt still remains in this old
codebase.1 parent 47944d0 commit 46a8c09
File tree
4 files changed
+105
-165
lines changed- clang/lib/StaticAnalyzer/Checkers/RetainCountChecker
4 files changed
+105
-165
lines changedLines changed: 29 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
840 | 840 | | |
841 | 841 | | |
842 | 842 | | |
| 843 | + | |
| 844 | + | |
843 | 845 | | |
844 | 846 | | |
845 | | - | |
| 847 | + | |
846 | 848 | | |
847 | | - | |
| 849 | + | |
848 | 850 | | |
849 | 851 | | |
850 | | - | |
851 | | - | |
| 852 | + | |
| 853 | + | |
852 | 854 | | |
853 | 855 | | |
854 | 856 | | |
855 | 857 | | |
856 | 858 | | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
857 | 864 | | |
858 | 865 | | |
859 | 866 | | |
| |||
874 | 881 | | |
875 | 882 | | |
876 | 883 | | |
877 | | - | |
878 | | - | |
| 884 | + | |
| 885 | + | |
879 | 886 | | |
880 | 887 | | |
881 | 888 | | |
| |||
1090 | 1097 | | |
1091 | 1098 | | |
1092 | 1099 | | |
1093 | | - | |
1094 | | - | |
| 1100 | + | |
| 1101 | + | |
1095 | 1102 | | |
1096 | 1103 | | |
1097 | 1104 | | |
| |||
1113 | 1120 | | |
1114 | 1121 | | |
1115 | 1122 | | |
1116 | | - | |
| 1123 | + | |
| 1124 | + | |
1117 | 1125 | | |
1118 | 1126 | | |
1119 | 1127 | | |
| |||
1261 | 1269 | | |
1262 | 1270 | | |
1263 | 1271 | | |
1264 | | - | |
1265 | | - | |
| 1272 | + | |
| 1273 | + | |
1266 | 1274 | | |
1267 | 1275 | | |
1268 | 1276 | | |
| |||
1307 | 1315 | | |
1308 | 1316 | | |
1309 | 1317 | | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
1310 | 1321 | | |
1311 | | - | |
1312 | 1322 | | |
1313 | 1323 | | |
1314 | 1324 | | |
| |||
1463 | 1473 | | |
1464 | 1474 | | |
1465 | 1475 | | |
1466 | | - | |
| 1476 | + | |
1467 | 1477 | | |
1468 | 1478 | | |
1469 | 1479 | | |
1470 | 1480 | | |
1471 | 1481 | | |
1472 | 1482 | | |
1473 | | - | |
| 1483 | + | |
1474 | 1484 | | |
1475 | 1485 | | |
| 1486 | + | |
1476 | 1487 | | |
1477 | 1488 | | |
1478 | | - | |
| 1489 | + | |
1479 | 1490 | | |
1480 | 1491 | | |
1481 | | - | |
1482 | | - | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
1489 | | - | |
1490 | | - | |
1491 | | - | |
1492 | | - | |
1493 | | - | |
1494 | | - | |
1495 | 1492 | | |
1496 | 1493 | | |
1497 | | - | |
| 1494 | + | |
1498 | 1495 | | |
1499 | 1496 | | |
1500 | 1497 | | |
1501 | 1498 | | |
1502 | 1499 | | |
1503 | | - | |
| 1500 | + | |
1504 | 1501 | | |
1505 | 1502 | | |
1506 | 1503 | | |
| |||
1511 | 1508 | | |
1512 | 1509 | | |
1513 | 1510 | | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
1521 | | - | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | | - | |
1526 | | - | |
1527 | 1511 | | |
1528 | 1512 | | |
1529 | | - | |
| 1513 | + | |
1530 | 1514 | | |
1531 | 1515 | | |
Lines changed: 23 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
252 | 245 | | |
253 | 246 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
| 247 | + | |
| 248 | + | |
262 | 249 | | |
263 | 250 | | |
264 | 251 | | |
265 | 252 | | |
266 | 253 | | |
267 | 254 | | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 255 | | |
275 | 256 | | |
276 | 257 | | |
277 | | - | |
| 258 | + | |
278 | 259 | | |
279 | 260 | | |
280 | 261 | | |
281 | | - | |
282 | | - | |
| 262 | + | |
| 263 | + | |
283 | 264 | | |
284 | 265 | | |
285 | 266 | | |
286 | 267 | | |
287 | 268 | | |
288 | 269 | | |
289 | 270 | | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
290 | 280 | | |
291 | 281 | | |
292 | 282 | | |
| |||
337 | 327 | | |
338 | 328 | | |
339 | 329 | | |
| 330 | + | |
| 331 | + | |
340 | 332 | | |
341 | 333 | | |
342 | 334 | | |
| |||
Lines changed: 14 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 24 | | |
76 | 25 | | |
77 | 26 | | |
| |||
312 | 261 | | |
313 | 262 | | |
314 | 263 | | |
| 264 | + | |
315 | 265 | | |
316 | 266 | | |
317 | | - | |
| 267 | + | |
| 268 | + | |
318 | 269 | | |
319 | 270 | | |
320 | 271 | | |
| |||
334 | 285 | | |
335 | 286 | | |
336 | 287 | | |
337 | | - | |
| 288 | + | |
| 289 | + | |
338 | 290 | | |
339 | 291 | | |
340 | 292 | | |
| |||
452 | 404 | | |
453 | 405 | | |
454 | 406 | | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | 407 | | |
462 | 408 | | |
463 | 409 | | |
| |||
490 | 436 | | |
491 | 437 | | |
492 | 438 | | |
493 | | - | |
| 439 | + | |
494 | 440 | | |
495 | 441 | | |
496 | 442 | | |
| |||
815 | 761 | | |
816 | 762 | | |
817 | 763 | | |
818 | | - | |
819 | | - | |
820 | | - | |
821 | | - | |
| 764 | + | |
| 765 | + | |
822 | 766 | | |
823 | 767 | | |
824 | 768 | | |
| |||
836 | 780 | | |
837 | 781 | | |
838 | 782 | | |
839 | | - | |
840 | | - | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
841 | 786 | | |
842 | 787 | | |
843 | | - | |
| 788 | + | |
844 | 789 | | |
845 | 790 | | |
846 | 791 | | |
847 | 792 | | |
848 | 793 | | |
849 | | - | |
| 794 | + | |
850 | 795 | | |
851 | | - | |
| 796 | + | |
852 | 797 | | |
853 | 798 | | |
854 | 799 | | |
| |||
0 commit comments