[clang-tools-extra] [clangd] Add clarifying comment about when Dex::IdxContents is populated (PR #118906)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 8 23:09:24 PST 2024
================
@@ -121,6 +121,8 @@ class Dex : public SymbolIndex {
llvm::DenseMap<std::pair<SymbolID, uint8_t>, std::vector<SymbolID>> Relations;
std::shared_ptr<void> KeepAlive; // poor man's move-only std::any
// Set of files which were used during this index build.
+ // Files and IdxContents are only populated for dynamic and background
+ // indexes, not static indexes.
----------------
kadircet wrote:
thanks, that LGTM!
https://github.com/llvm/llvm-project/pull/118906
More information about the cfe-commits
mailing list