[clangd] More precise representation of symbol names/labels in the index.
Previously, the strings matched LSP completion pretty closely.
The completion label was a single string, for instance. This made
implementing completion itself easy but makes it hard to use the names
in other way, e.g. pretty-printed name in synthesized
It also limits our introspection into completion items, which can only
be as precise as the indexed symbols. This change is a prerequisite to
improvements to overload bundling which need to inspect e.g. signature
Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits
Differential Revision: https://reviews.llvm.org/D48475
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@335360 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed