[all-commits] [llvm/llvm-project] 83411b: [clangd] Support for standard type hierarchy
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Wed Aug 17 00:33:21 PDT 2022
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
[clangd] Support for standard type hierarchy
This is mostly a mechanical change to adapt standard type hierarchy
support proposed in LSP 3.17 on top of clangd's existing extension support.
This does mainly two things:
- Incorporate symbolids for all the parents inside resolution parameters, so
that they can be retrieved from index later on. This is a new code path, as
extension always resolved them eagerly.
- Propogate parent information when resolving children, so that at least one
branch of parents is always preserved. This is to address a shortcoming in the
This doesn't drop support for the extension, but it's deprecated from now on and
will be deleted in upcoming releases. Currently we use the same struct
internally but don't serialize extra fields.
Differential Revision: https://reviews.llvm.org/D131385
More information about the All-commits