The file follows the LSP syntax, so we're intentially deviating
from the LLVM coding standard.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/Protocol.h | ||
---|---|---|
39 | Nit: we're only using C-style comments for single-line parameter name "injection". Context: https://llvm.org/docs/CodingStandards.html#comment-formatting |
Comment Actions
This looks the best we can do, please address Kirill's comment.
I spotted a related crash bug (https://github.com/clangd/clangd/issues/929) in clangd, but I think this patch should be fine to go.
Comment Actions
yeah, this file is fine, the crash only occurs if you use an assertion-enabled clangd and the code has an unmatched NOLINTBEGIN.
Nit: we're only using C-style comments for single-line parameter name "injection".
Context:
https://llvm.org/docs/CodingStandards.html#comment-formatting