clang-tools
10.0.0
|
Represents a shard loaded from storage, stores contents in Shard
and metadata about the source file that generated this shard.
More...
#include <BackgroundIndexLoader.h>
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... | |
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.
Path clang::clangd::LoadedShard::AbsolutePath |
Path of the source file that produced this shard.
Definition at line 30 of file BackgroundIndexLoader.h.
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.
Path clang::clangd::LoadedShard::DependentTU |
Path to a TU that is depending on this shard.
Definition at line 39 of file BackgroundIndexLoader.h.
FileDigest clang::clangd::LoadedShard::Digest = {} |
Digest of the source file contents that produced this shard.
Definition at line 32 of file BackgroundIndexLoader.h.
bool clang::clangd::LoadedShard::HadErrors = false |
Whether the indexing action producing that shard had errors.
Definition at line 37 of file BackgroundIndexLoader.h.
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.