diff --git a/src/messages/cquery_member_hierarchy.cc b/src/messages/cquery_member_hierarchy.cc index 3f165298..f4465230 100644 --- a/src/messages/cquery_member_hierarchy.cc +++ b/src/messages/cquery_member_hierarchy.cc @@ -97,6 +97,8 @@ bool Expand(MessageHandler* m, case CXType_NullPtr: entry->name = "nullptr"; break; // clang-format on } + entry->numChildren = 0; + return true; } if (!def) { entry->numChildren = 0;