diff --git a/src/indexer.cc b/src/indexer.cc index 9e0ee81c..2ad815f9 100644 --- a/src/indexer.cc +++ b/src/indexer.cc @@ -87,8 +87,7 @@ struct NamespaceHelper { ClangCursor cursor = container->cursor; std::vector namespaces; std::string qualifier; - while (cursor.get_kind() != CXCursor_TranslationUnit && - !IsLocalSemanticContainer(cursor.get_kind())) { + while (cursor.get_kind() != CXCursor_TranslationUnit) { auto it = container_cursor_to_qualified_name.find(cursor); if (it != container_cursor_to_qualified_name.end()) { qualifier = it->second;