Commit 2560e04
Automerge: [clang][depscan] Centralize logic for populating StableDirs, NFC (#135704)
Pass a reference to `StableDirs` when creating ModuleDepCollector. This
avoids needing to create one from the same ScanInstance for each call to
`handleTopLevelModule` & reduces the amount of potential downstream
changes needed for handling StableDirs.File tree
3 files changed
+28
-27
lines changed- clang
- include/clang/Tooling/DependencyScanning
- lib/Tooling/DependencyScanning
3 files changed
+28
-27
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
| 286 | + | |
286 | 287 | | |
287 | 288 | | |
288 | 289 | | |
| |||
305 | 306 | | |
306 | 307 | | |
307 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
308 | 312 | | |
309 | 313 | | |
310 | 314 | | |
| |||
Lines changed: 15 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 211 | + | |
| 212 | + | |
221 | 213 | | |
222 | 214 | | |
223 | 215 | | |
| |||
448 | 440 | | |
449 | 441 | | |
450 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
451 | 452 | | |
452 | 453 | | |
453 | 454 | | |
| |||
459 | 460 | | |
460 | 461 | | |
461 | 462 | | |
462 | | - | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
489 | 490 | | |
490 | 491 | | |
491 | 492 | | |
492 | | - | |
| 493 | + | |
493 | 494 | | |
494 | 495 | | |
495 | 496 | | |
| |||
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
763 | 763 | | |
764 | 764 | | |
765 | 765 | | |
766 | | - | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
772 | | - | |
773 | | - | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
774 | 769 | | |
775 | 770 | | |
776 | 771 | | |
| |||
817 | 812 | | |
818 | 813 | | |
819 | 814 | | |
820 | | - | |
| 815 | + | |
821 | 816 | | |
822 | 817 | | |
823 | 818 | | |
| |||
864 | 859 | | |
865 | 860 | | |
866 | 861 | | |
867 | | - | |
| 862 | + | |
868 | 863 | | |
869 | 864 | | |
870 | 865 | | |
| |||
978 | 973 | | |
979 | 974 | | |
980 | 975 | | |
981 | | - | |
| 976 | + | |
| 977 | + | |
982 | 978 | | |
983 | 979 | | |
984 | 980 | | |
985 | | - | |
| 981 | + | |
986 | 982 | | |
987 | 983 | | |
988 | 984 | | |
| |||
0 commit comments