[clangd] Populate detail field in document symbols
authorlightmelodies <lightmelodies@outlook.com>
Thu, 18 Feb 2021 15:34:06 +0000 (16:34 +0100)
committerSam McCall <sam.mccall@gmail.com>
Thu, 18 Feb 2021 15:53:41 +0000 (16:53 +0100)
commit2e851c4172a35cc37fe6bf4ce8150c628fd66c0c
treece67320e64c78d99aef998901cfe1242a9cb5bf3
parent0ec448194e2928a3d1dc2eceeb764c6e19bcec3e
[clangd] Populate detail field in document symbols

This commit fix https://github.com/clangd/clangd/issues/520 and https://github.com/clangd/clangd/issues/601.
{F15544293}

Reviewed By: sammccall

Differential Revision: https://reviews.llvm.org/D96751
clang-tools-extra/clangd/FindSymbols.cpp
clang-tools-extra/clangd/test/symbols.test
clang-tools-extra/clangd/unittests/FindSymbolsTests.cpp