clang-tools 19.0.0git
Classes | Namespaces | Functions
BackgroundIndexLoader.h File Reference
#include "index/Background.h"
#include "support/Path.h"
#include "llvm/ADT/ArrayRef.h"
#include <memory>
#include <vector>

Go to the source code of this file.


struct  clang::clangd::LoadedShard
 Represents a shard loaded from storage, stores contents in Shard and metadata about the source file that generated this shard. More...


namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::clangd


std::vector< LoadedShard > clang::clangd::loadIndexShards (llvm::ArrayRef< Path > MainFiles, BackgroundIndexStorage::Factory &IndexStorageFactory, const GlobalCompilationDatabase &CDB)
 Loads all shards for the TU MainFile from Storage.