Index: source/Symbol/ClangASTContext.cpp =================================================================== --- source/Symbol/ClangASTContext.cpp +++ source/Symbol/ClangASTContext.cpp @@ -9097,6 +9097,8 @@ for (auto it = search_queue.find(decl_context); it != search_queue.end(); it++) { + if (searched.find(it->second) != searched.end()) + continue; searched.insert(it->second); symbol_file->ParseDeclsForContext(CompilerDeclContext(this, it->second));