Background indexing triggers indexing only on the first TU that
includes a stale dependency.
This patch extends this behavior to also trigger indexing on TUs with errors.
Differential D64718
[clangd] Triggering indexing on each translation unit with an error kadircet on Jul 15 2019, 5:43 AM. Authored by
Details
Background indexing triggers indexing only on the first TU that This patch extends this behavior to also trigger indexing on TUs with errors.
Diff Detail
Event TimelineComment Actions this requires keeping an inverted dependency graph, which can be quite expensive memory-wise. It is quite likely that there would be a lot more "base" headers like that, which could easily drive up the memory usage. We might need some tradeoffs to limit that usage. |