[PATCH] D113889: [NFC] disabling clang-tidy check readability-identifier-naming in Protocol.h
Christian Kühnel via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 16 07:26:34 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG75a078455fc7: [NFC] disabling clang-tidy check readability-identifier-naming in Protocol.h (authored by kuhnel).
Changed prior to commit:
https://reviews.llvm.org/D113889?vs=387239&id=387634#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113889/new/
https://reviews.llvm.org/D113889
Files:
clang-tools-extra/clangd/Protocol.h
Index: clang-tools-extra/clangd/Protocol.h
===================================================================
--- clang-tools-extra/clangd/Protocol.h
+++ clang-tools-extra/clangd/Protocol.h
@@ -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 @@
};
} // namespace llvm
+// NOLINTEND(readability-identifier-naming)
+
#endif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113889.387634.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211116/895d94c7/attachment.bin>
More information about the cfe-commits
mailing list