[PATCH] D31328: [clangd] Add code completion support
Stanislav Ionascu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 2 02:57:59 PDT 2017
stanionascu added inline comments.
================
Comment at: clangd/Protocol.cpp:613
+ if (CI.kind != CompletionItemKind::Missing)
+ Os << R"("kind":)" << static_cast<int>(CI.kind) << R"(",)";
+ if (!CI.detail.empty())
----------------
if kind is actually provided there will be a trailing quote, as in ("kind": 4").
https://reviews.llvm.org/D31328
More information about the cfe-commits
mailing list