[PATCH] D64980: [clangd][BackgroundIndexLoader] Directly store DependentTU while loading shard

2019-07-19 Thread Kadir Cetinkaya via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL366559: Revert "Revert r366458, r366467 and r366468" (authored by kadircet, committed by ). Herald added subscribers: llvm-commits, mgorny. Herald added a project: LLVM. Changed prior to commit: https:/

[PATCH] D64980: [clangd][BackgroundIndexLoader] Directly store DependentTU while loading shard

2019-07-19 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet created this revision. kadircet added a reviewer: sammccall. Herald added subscribers: cfe-commits, arphaman, jkorous, MaskRay, ilya-biryukov. Herald added a project: clang. We were deferring the population of DependentTU field in LoadedShard until BackgroundIndexLoader was consumed. Thi