[all-commits] [llvm/llvm-project] e78165: [clangd] Block clang-tidy misc-const-correctness c...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu Oct 13 03:07:55 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e78165f0ba1e2fbf72b36a36c8560645b69a168a
      https://github.com/llvm/llvm-project/commit/e78165f0ba1e2fbf72b36a36c8560645b69a168a
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M clang-tools-extra/clangd/TidyProvider.cpp

  Log Message:
  -----------
  [clangd] Block clang-tidy misc-const-correctness check

This check performs an extremely large amount of work (for each variable, it
runs very many full matcher-driven traversals of the whole scope the variable
is defined in).

When (inadvertently) enabled for Fuchsia, it regressed BuildAST times by >10x
(400ms -> 7s on my machine).

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




More information about the All-commits mailing list