[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:
Ilya Golovenko 2020-12-03 16:55:11 +03:00
parent 0f32e81407
commit 2d539d7854
1 changed files with 0 additions and 2 deletions

View File

@ -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) {