From eee785569f05894a333e5616cea0bddfdb0e544a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sun, 25 Feb 2018 23:14:03 -0800 Subject: [PATCH] memberHierarchy --- src/messages/cquery_member_hierarchy.cc | 2 ++ 1 file changed, 2 insertions(+) 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;