[PATCH] D92484: [clangd] Relation slabs should not be accounted when computing backing storage size

walrus via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 3 05:58:30 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG2d539d78549f: [clangd] Relation slabs should not be accounted when computing backing storageā€¦ (authored by walrus).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92484/new/

https://reviews.llvm.org/D92484

Files:
  clang-tools-extra/clangd/index/FileIndex.cpp


Index: clang-tools-extra/clangd/index/FileIndex.cpp
===================================================================
--- clang-tools-extra/clangd/index/FileIndex.cpp
+++ clang-tools-extra/clangd/index/FileIndex.cpp
@@ -366,8 +366,6 @@
     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) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92484.309236.patch
Type: text/x-patch
Size: 526 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201203/bac415f6/attachment.bin>


More information about the cfe-commits mailing list