[all-commits] [llvm/llvm-project] b99f7e: [clangd] Don't run slow clang-tidy checks by default

Sam McCall via All-commits all-commits at lists.llvm.org
Fri Oct 20 02:48:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b99f7e6954691efae2d60a1af21f8c1b71a0f786
      https://github.com/llvm/llvm-project/commit/b99f7e6954691efae2d60a1af21f8c1b71a0f786
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M clang-tools-extra/clangd/Config.h
    M clang-tools-extra/clangd/ConfigCompile.cpp
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/ConfigYAML.cpp
    M clang-tools-extra/clangd/ParsedAST.cpp
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang-tools-extra/clangd/TidyProvider.h
    M clang-tools-extra/clangd/tool/Check.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
    M clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
    M clang-tools-extra/clangd/unittests/ReplayPeambleTests.cpp
    M clang-tools-extra/clangd/unittests/TidyProviderTests.cpp

  Log Message:
  -----------
  [clangd] Don't run slow clang-tidy checks by default

This uses the fast-check allowlist added in the previous commit.
This is behind a config option to allow users/developers to enable checks
we haven't timed yet, and to allow the --check-tidy-time flag to work.

Fixes https://github.com/clangd/clangd/issues/1337

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




More information about the All-commits mailing list