Skip to content

Commit 75a0784

Browse files
[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
1 parent 4c8b8e0 commit 75a0784

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang-tools-extra/clangd/Protocol.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636
#include <string>
3737
#include <vector>
3838

39+
// This file is using the LSP syntax for identifier names which is different
40+
// from the LLVM coding standard. To avoid the clang-tidy warnings, we're
41+
// disabling one check here.
42+
// NOLINTBEGIN(readability-identifier-naming)
43+
3944
namespace clang {
4045
namespace clangd {
4146

@@ -1794,4 +1799,6 @@ template <> struct format_provider<clang::clangd::Position> {
17941799
};
17951800
} // namespace llvm
17961801

1802+
// NOLINTEND(readability-identifier-naming)
1803+
17971804
#endif

0 commit comments

Comments
 (0)