forked from OSchip/llvm-project
[clangd] Relation slabs should not be accounted when computing backing storage size
Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D92484
This commit is contained in:
parent
0f32e81407
commit
2d539d7854
|
@ -366,8 +366,6 @@ FileSymbols::buildIndex(IndexType Type, DuplicateHandling DuplicateHandle,
|
|||
StorageSize += Slab->bytes();
|
||||
for (const auto &RefSlab : RefSlabs)
|
||||
StorageSize += RefSlab->bytes();
|
||||
for (const auto &RelationSlab : RelationSlabs)
|
||||
StorageSize += RelationSlab->bytes();
|
||||
|
||||
// Index must keep the slabs and contiguous ranges alive.
|
||||
switch (Type) {
|
||||
|
|
Loading…
Reference in New Issue