[PATCH] D58880: [WIP] [Looking for API feedback] [clangd] Type hierarchy subtypes

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 04:18:42 PST 2019


hokein added a comment.

Haven't looked at the patch. I think we can extend the existing Ref to support it, so that most of the stuff could be reused, rather than implementing a new slab:

- introduce a new RefKind, like BaseOf
- add a new field SymbolID in Ref

and `clangIndex` library has already implemented relationship functionality (we could use `handleDeclOccurence` to store the symbols relationships).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58880/new/

https://reviews.llvm.org/D58880





More information about the cfe-commits mailing list