[all-commits] [llvm/llvm-project] 8266cd: [clangd] Disable cppcoreguidelines-macro-to-enum c...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Mar 4 00:47:15 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8266cd9f84b5a7d334ade7ff41393458b3789047
      https://github.com/llvm/llvm-project/commit/8266cd9f84b5a7d334ade7ff41393458b3789047
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

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

  Log Message:
  -----------
  [clangd] Disable cppcoreguidelines-macro-to-enum clang-tidy checker (#129478)

Clangd does not support its checker because the checker relies on having
seen preprocessor conditionals that occur in the preamble, and clangd
does not currently replay those.

This checker was already disabled under its main name,
modernize-macro-to-enum (https://github.com/clangd/clangd/issues/1464).
This commit disables it under the alternative name
cppcoreguidelines-macro-to-enum as well.

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



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