llvm-project/clang-tools-extra/clangd/index
Sam McCall a68951e37e [clangd] More precise representation of symbol names/labels in the index.
Summary:
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
documentation/hover.

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
structure.

Reviewers: ioeric

Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits

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

llvm-svn: 335360
2018-06-22 16:11:35 +00:00
..
CanonicalIncludes.cpp [clangd] Skip .inc headers when canonicalizing header #include. 2018-05-24 14:40:24 +00:00
CanonicalIncludes.h [clangd] clang-format the source code. NFC 2018-05-30 12:41:19 +00:00
FileIndex.cpp [clangd] Customizable URI schemes for dynamic index. 2018-06-15 08:55:00 +00:00
FileIndex.h [clangd] Customizable URI schemes for dynamic index. 2018-06-15 08:55:00 +00:00
Index.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
Index.h [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
MemIndex.cpp [clangd] Add "member" symbols to the index 2018-06-05 14:01:40 +00:00
MemIndex.h [clangd] Add an interface that finds symbol by SymbolID in SymbolIndex. 2018-03-14 09:48:05 +00:00
Merge.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
Merge.h [clangd] Merge results from static/dynamic index. 2018-01-15 12:33:00 +00:00
SymbolCollector.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
SymbolCollector.h [clangd] Expose 'shouldCollectSymbol' helper from SymbolCollector. 2018-06-21 12:12:26 +00:00
SymbolYAML.cpp [clangd] More precise representation of symbol names/labels in the index. 2018-06-22 16:11:35 +00:00
SymbolYAML.h [clangd] clang-format the source code. NFC 2018-05-30 12:41:19 +00:00