#include "GlobalCompilationDatabase.h"
#include "index/Background.h"
#include "support/Logger.h"
#include "support/Path.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <functional>
#include <optional>
namespace clang {
namespace clangd {
namespace {
std::string getShardPathFromFilePath(llvm::StringRef ShardRoot,
llvm::StringRef FilePath) { … }
class DiskBackedIndexStorage : public BackgroundIndexStorage { … };
class NullStorage : public BackgroundIndexStorage { … };
class DiskBackedIndexStorageManager { … };
}
BackgroundIndexStorage::Factory
BackgroundIndexStorage::createDiskBackedStorageFactory(
std::function<std::optional<ProjectInfo>(PathRef)> GetProjectInfo) { … }
}
}