[clang-tools-extra] [clangd] Re-land "support outgoing calls in call hierarchy" (PR #117673)
kadir çetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 3 07:15:00 PST 2024
================
@@ -64,16 +65,18 @@ class Dex : public SymbolIndex {
typename FileRange, typename Payload>
Dex(SymbolRange &&Symbols, RefsRange &&Refs, RelationsRange &&Relations,
FileRange &&Files, IndexContents IdxContents, Payload &&BackingData,
- size_t BackingDataSize)
+ size_t BackingDataSize, bool SupportContainedRefs = true)
: Dex(std::forward<SymbolRange>(Symbols), std::forward<RefsRange>(Refs),
std::forward<RelationsRange>(Relations),
- std::forward<Payload>(BackingData), BackingDataSize) {
+ std::forward<Payload>(BackingData), BackingDataSize,
+ SupportContainedRefs) {
this->Files = std::forward<FileRange>(Files);
this->IdxContents = IdxContents;
}
/// Builds an index from slabs. The index takes ownership of the slab.
- static std::unique_ptr<SymbolIndex> build(SymbolSlab, RefSlab, RelationSlab);
+ static std::unique_ptr<SymbolIndex> build(SymbolSlab, RefSlab, RelationSlab,
+ bool SupportContainedRefs = true);
----------------
kadircet wrote:
and here
https://github.com/llvm/llvm-project/pull/117673
More information about the cfe-commits
mailing list