[all-commits] [llvm/llvm-project] 2efccf: [clangd][NFC] Reduce memory usage while building dex

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Fri Apr 22 08:45:24 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2efccf5166f4dd7d188eea2de4f4b7f50b64e477
      https://github.com/llvm/llvm-project/commit/2efccf5166f4dd7d188eea2de4f4b7f50b64e477
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M clang-tools-extra/clangd/index/dex/Dex.cpp

  Log Message:
  -----------
  [clangd][NFC] Reduce memory usage while building dex

Reduce peak memory usage by tearing down the intermediate representation
as we build the final one. Rather than deleting it in the end.

Differential Revision: https://reviews.llvm.org/D124240




More information about the All-commits mailing list