clang-tools 10.0.0

Public Attributes | List of all members
clang::clangd::LoadedShard Struct Reference

Represents a shard loaded from storage, stores contents in `Shard` and metadata about the source file that generated this shard. More...

`#include <BackgroundIndexLoader.h>`

Collaboration diagram for clang::clangd::LoadedShard:
[legend]

## Public Attributes
Path | AbsolutePath
| Path of the source file that produced this shard. More...
FileDigest | Digest = {}
| Digest of the source file contents that produced this shard. More...
bool | CountReferences = false
| Whether the RefSlab in Shard should be used for updating symbol reference counts when building an index. More...
bool | HadErrors = false
| Whether the indexing action producing that shard had errors. More...
Path | DependentTU
| Path to a TU that is depending on this shard. More...
std::unique_ptr< IndexFileIn > | Shard
| Will be nullptr when index storage couldn't provide a valid shard for AbsolutePath. More...

## Detailed Description

Represents a shard loaded from storage, stores contents in `Shard` and metadata about the source file that generated this shard.

Definition at line 28 of file BackgroundIndexLoader.h.

## Member Data Documentation

## ◆ AbsolutePath

Path clang::clangd::LoadedShard::AbsolutePath

Path of the source file that produced this shard.

Definition at line 30 of file BackgroundIndexLoader.h.

## ◆ CountReferences

bool clang::clangd::LoadedShard::CountReferences = false

Whether the RefSlab in Shard should be used for updating symbol reference counts when building an index.

Definition at line 35 of file BackgroundIndexLoader.h.

## ◆ DependentTU

Path clang::clangd::LoadedShard::DependentTU

Path to a TU that is depending on this shard.

Definition at line 39 of file BackgroundIndexLoader.h.

## ◆ Digest

FileDigest clang::clangd::LoadedShard::Digest = {}

Digest of the source file contents that produced this shard.

Definition at line 32 of file BackgroundIndexLoader.h.

## ◆ HadErrors

bool clang::clangd::LoadedShard::HadErrors = false

Whether the indexing action producing that shard had errors.

Definition at line 37 of file BackgroundIndexLoader.h.

## ◆ Shard

std::unique_ptr<IndexFileIn> clang::clangd::LoadedShard::Shard

Will be nullptr when index storage couldn't provide a valid shard for AbsolutePath.

Definition at line 42 of file BackgroundIndexLoader.h.

The documentation for this struct was generated from the following file:

- BackgroundIndexLoader.h