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
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
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits