diff --git a/clang-tools-extra/clangd/Protocol.h b/clang-tools-extra/clangd/Protocol.h --- a/clang-tools-extra/clangd/Protocol.h +++ b/clang-tools-extra/clangd/Protocol.h @@ -36,6 +36,11 @@ #include #include +// This file is using the LSP syntax for identifier names which is different +// from the LLVM coding standard. To avoid the clang-tidy warnings, we're +// disabling one check here. +// NOLINTBEGIN(readability-identifier-naming) + namespace clang { namespace clangd { @@ -1794,4 +1799,6 @@ }; } // namespace llvm +// NOLINTEND(readability-identifier-naming) + #endif