[clangd] Disable modernize-macro-to-enum tidy check
Check relies on seeing PP-directives from preamble, hence it's unusable. See https://github.com/clangd/clangd/issues/1464.
This commit is contained in:
parent
61bb549cfd
commit
2486c8d7bb
|
@ -205,7 +205,7 @@ TidyProvider disableUnusableChecks(llvm::ArrayRef<std::string> ExtraBadChecks) {
|
|||
|
||||
// Check relies on seeing ifndef/define/endif directives,
|
||||
// clangd doesn't replay those when using a preamble.
|
||||
"-llvm-header-guard",
|
||||
"-llvm-header-guard", "-modernize-macro-to-enum",
|
||||
|
||||
// ----- Crashing Checks -----
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user