clang-tools 20.0.0git
|
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. | |
FileDigest | Digest = {} |
Digest of the source file contents that produced this shard. | |
bool | CountReferences = false |
Whether the RefSlab in Shard should be used for updating symbol reference counts when building an index. | |
bool | HadErrors = false |
Whether the indexing action producing that shard had errors. | |
Path | DependentTU |
Path to a TU that is depending on this shard. | |
std::unique_ptr< IndexFileIn > | Shard |
Will be nullptr when index storage couldn't provide a valid shard for AbsolutePath. | |
Represents a shard loaded from storage, stores contents in Shard
and metadata about the source file that generated this shard.
Definition at line 23 of file BackgroundIndexLoader.h.
Path clang::clangd::LoadedShard::AbsolutePath |
Path of the source file that produced this shard.
Definition at line 25 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 30 of file BackgroundIndexLoader.h.
Path clang::clangd::LoadedShard::DependentTU |
Path to a TU that is depending on this shard.
Definition at line 34 of file BackgroundIndexLoader.h.
FileDigest clang::clangd::LoadedShard::Digest = {} |
Digest of the source file contents that produced this shard.
Definition at line 27 of file BackgroundIndexLoader.h.
bool clang::clangd::LoadedShard::HadErrors = false |
Whether the indexing action producing that shard had errors.
Definition at line 32 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 37 of file BackgroundIndexLoader.h.