reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/tools/extra/clangd/index/Background.cpp
  400       IndexOpts, [&](SymbolSlab S) { Index.Symbols = std::move(S); },
  401       [&](RefSlab R) { Index.Refs = std::move(R); },
  402       [&](RelationSlab R) { Index.Relations = std::move(R); },
  403       [&](IncludeGraph IG) { Index.Sources = std::move(IG); });
  419   Index.Cmd = Inputs.CompileCommand;
  420   assert(Index.Symbols && Index.Refs && Index.Sources &&
  420   assert(Index.Symbols && Index.Refs && Index.Sources &&
  420   assert(Index.Symbols && Index.Refs && Index.Sources &&
  424       Inputs.CompileCommand.Filename, Index.Symbols->size(),
  425       Index.Refs->numRefs(), Index.Sources->size());
  425       Index.Refs->numRefs(), Index.Sources->size());
  426   SPAN_ATTACH(Tracer, "symbols", int(Index.Symbols->size()));
  427   SPAN_ATTACH(Tracer, "refs", int(Index.Refs->numRefs()));
  428   SPAN_ATTACH(Tracer, "sources", int(Index.Sources->size()));
  434     for (auto &It : *Index.Sources)
  437   update(AbsolutePath, std::move(Index), ShardVersionsSnapshot, HadErrors);