[all-commits] [llvm/llvm-project] 1c5936: [clangd] Make it possible to enable misc-const-cor...

geza-herman via All-commits all-commits at lists.llvm.org
Tue Jun 11 10:32:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c59362e4456fb0861fcf4be9831b4db3e921b2b
      https://github.com/llvm/llvm-project/commit/1c59362e4456fb0861fcf4be9831b4db3e921b2b
  Author: geza-herman <geza.herman at gmail.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

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

  Log Message:
  -----------
  [clangd] Make it possible to enable misc-const-correctness clang-tidy check (#94920)

Before this PR, clangd forcefully disabled misc-const-correctness in
disableUnusableChecks().

Now we have a FastCheckFilter configuration whose default value
(Strict) also disables it. This patch removes misc-const-correctness
from disableUnusableChecks() so it's possible to enable by setting
FastCheckFilter to None.

Fixes https://github.com/llvm/llvm-project/issues/89758



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