[all-commits] [llvm/llvm-project] ae839b: [clangd] [C++20] [Modules] Add scanning cache (#12...

Chuanqi Xu via All-commits all-commits at lists.llvm.org
Wed Feb 26 00:03:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae839b02504a68a0dfe63ac8ec314d9d7a6ce8df
      https://github.com/llvm/llvm-project/commit/ae839b02504a68a0dfe63ac8ec314d9d7a6ce8df
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-02-26 (Wed, 26 Feb 2025)

  Changed paths:
    M clang-tools-extra/clangd/ModulesBuilder.cpp
    M clang-tools-extra/clangd/ProjectModules.h
    M clang-tools-extra/clangd/ScanningProjectModules.cpp
    M clang-tools-extra/clangd/unittests/PrerequisiteModulesTest.cpp

  Log Message:
  -----------
  [clangd] [C++20] [Modules] Add scanning cache (#125988)

Previously, everytime we want to get a source file declaring a specific
module, we need to scan the whole projects again and again. The
performance is super bad. This patch tries to improve this by
introducing a simple cache.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list