[PATCH] D77456: [clangd] Parse `foo` in documentation comments and render as code.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 4 00:19:43 PDT 2020


sammccall added a comment.

Some saturday morning procrastination.

But I'm wondering how good an idea this is for plaintext: "Returns 'foo' on failure" is better than "Returns foo on failure", right? (With backticks instead of single quotes, phab is eating my formatting)
Maybe we should have an Emphasis flag or something on plaintext to preserve the quotes? (We don't want to include them e.g. in the return type chunks)

Also, realized our model for whitespace around paragraph chunks isn't ideal after all :-(


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77456





More information about the cfe-commits mailing list