[all-commits] [llvm/llvm-project] 62a090: [clangd] Initialize clang-tidy modules only once

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Wed May 10 03:39:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 62a090f958ce02a8035e3c9424a05dbfe25859e1
      https://github.com/llvm/llvm-project/commit/62a090f958ce02a8035e3c9424a05dbfe25859e1
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-05-10 (Wed, 10 May 2023)

  Changed paths:
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    M clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
    A clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp

  Log Message:
  -----------
  [clangd] Initialize clang-tidy modules only once

This is showing up on our profiles with ~100ms contribution @95th% for
buildAST latencies.
The patch is unlikely to address it all, but should help with some low-hanging
fruit.

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




More information about the All-commits mailing list