Commit ff48353
authored
[clang-repl] Use RegisterPTU for tracking generated TranslationUnitDecl through parse (llvm#164778)
Instead of manually creating and adding a PTU, we should be able to use
`RegisterPTU` which does the same job here.1 parent 792c65c commit ff48353
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
| 584 | + | |
590 | 585 | | |
591 | 586 | | |
592 | 587 | | |
| |||
0 commit comments