[PATCH] D107703: [AST][clangd] Expose documentation of Attrs on hover.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 13 01:53:20 PDT 2021


sammccall added a comment.

In D107703#2942853 <https://reviews.llvm.org/D107703#2942853>, @thakis wrote:

> The docs are in rST format. Is that the format LSP wants?

Not really :-) LSP's favorite would be markdown.
But we're used to ingesting comments in unknown formats and trying to make sense of them, and our users are used to us failing. (Those heuristics could use some love).
So the rst will be thrown into that meatgrinder as if they're comments, and at the very least the text will survive, which is the main thing.

Hopefully one day we can do real conversion.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D107703/new/

https://reviews.llvm.org/D107703



More information about the cfe-commits mailing list