[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
Mon Nov 15 06:39:08 PST 2021
kuhnel created this revision.
Herald added subscribers: carlosgalvezp, usaxena95, kadircet, arphaman.
kuhnel added subscribers: sammccall, hokein, adamcz, kbobyrev.
kuhnel published this revision for review.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
The file follows the LSP syntax, so we're intentially deviating
from the LLVM coding standard.
Repository:
rG LLVM Github Monorepo
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.387239.patch
Type: text/x-patch
Size: 625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211115/35dc8e1b/attachment-0001.bin>
More information about the cfe-commits
mailing list