[all-commits] [llvm/llvm-project] b56aeb: [clang-tidy] Add filtering of check options by ena...

Baranov Victor via All-commits all-commits at lists.llvm.org
Sun Jul 13 13:44:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b56aebaf82f250ac35d18bcb4d4bf6806af91f49
      https://github.com/llvm/llvm-project/commit/b56aebaf82f250ac35d18bcb4d4bf6806af91f49
  Author: Baranov Victor <bar.victor.2002 at gmail.com>
  Date:   2025-07-13 (Sun, 13 Jul 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidy.cpp
    M clang-tools-extra/clang-tidy/ClangTidy.h
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/infrastructure/dump-config-filtering.cpp

  Log Message:
  -----------
  [clang-tidy] Add filtering of check options by enabled checks in '--dump-config' (#147142)

Added function to filter out `CheckOptions` that come from
`ClangTidyOptions::getDefaults()`, but does not have a corresponding
check enabled in the `Checks` configuration.

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



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