[clangd] Introduce intermediate representation of formatted text
authorIlya Biryukov <ibiryukov@google.com>
Tue, 7 May 2019 14:18:18 +0000 (14:18 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Tue, 7 May 2019 14:18:18 +0000 (14:18 +0000)
commit5b0872fcfdfb1965aafe96ab512f56bb6455a29e
tree9a71ba019bc99bbb3cf0c82c3056ba353da83e9f
parent4b81e9f8d10214fbb2c8e1a367a60801a5dd5fed
[clangd] Introduce intermediate representation of formatted text

Summary: That can render to markdown or plain text. Used for findHover requests.

Reviewers: malaperle, sammccall, kadircet

Reviewed By: sammccall

Subscribers: mgorny, MaskRay, jkorous, arphaman, kadircet, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58547

llvm-svn: 360151
clang-tools-extra/clangd/CMakeLists.txt
clang-tools-extra/clangd/FormattedString.cpp [new file with mode: 0644]
clang-tools-extra/clangd/FormattedString.h [new file with mode: 0644]
clang-tools-extra/clangd/unittests/CMakeLists.txt
clang-tools-extra/clangd/unittests/FormattedStringTests.cpp [new file with mode: 0644]