[PATCH] D71063: [clangd] New rendering structs

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 06:14:49 PST 2019


kadircet created this revision.
kadircet added a reviewer: sammccall.
Herald added subscribers: cfe-commits, usaxena95, arphaman, jkorous, MaskRay, ilya-biryukov.
Herald added a project: clang.
kadircet added a comment.
kadircet added a parent revision: D70911: [clangd] Switch Hover.All to structured tests.

Note that I am planning to add more tests, sending out for review to get some initial feedback on the design.


Clangd currently has a really basic formatted string generation
framework and it is not enough to generate some hover responses we want to.

This patch improves that infrastructure by adding more types of nodes and
renderings. While generating markdown, spesifications in
https://github.github.com/gfm/ was followed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71063

Files:
  clang-tools-extra/clangd/FormattedString.cpp
  clang-tools-extra/clangd/FormattedString.h
  clang-tools-extra/clangd/Hover.cpp
  clang-tools-extra/clangd/Hover.h
  clang-tools-extra/clangd/unittests/FormattedStringTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71063.232329.patch
Type: text/x-patch
Size: 26390 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191205/f8c25c17/attachment-0001.bin>


More information about the cfe-commits mailing list