[NFC] disabling clang-tidy check readability-identifier-naming in Protocol.h

The file follows the LSP syntax, so we're intentially deviating
from the LLVM coding standard.

Differential Revision: https://reviews.llvm.org/D113889
This commit is contained in:
Christian Kühnel 2021-11-15 14:37:20 +00:00
parent 4c8b8e0154
commit 75a078455f

View File

@ -36,6 +36,11 @@
#include <string>
#include <vector>
// 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 @@ template <> struct format_provider<clang::clangd::Position> {
};
} // namespace llvm
// NOLINTEND(readability-identifier-naming)
#endif