mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
memberHierarchy
This commit is contained in:
parent
8c32839362
commit
bfcab88090
@ -115,6 +115,9 @@ void Expand(MessageHandler* m,
|
||||
const QueryVar::Def* def1 = var.AnyDef();
|
||||
Out_CqueryMemberHierarchy::Entry entry1;
|
||||
entry1.id = def1->type ? *def1->type : QueryTypeId();
|
||||
if (detailed_name)
|
||||
entry1.fieldName = def1->detailed_name;
|
||||
else
|
||||
entry1.fieldName = def1->ShortName();
|
||||
Expand(m, &entry1, detailed_name, levels - 1);
|
||||
entry->children.push_back(std::move(entry1));
|
||||
|
Loading…
Reference in New Issue
Block a user