diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index fcf91903b..6e1e90d24 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -3892,6 +3892,8 @@ void SymbolDatabase::printXml(std::ostream &out) const out << " nestedIn=\"" << scope->nestedIn << "\""; if (scope->function) out << " function=\"" << scope->function << "\""; + if (scope->definedType) + out << " definedType=\"" << scope->definedType << "\""; if (scope->functionList.empty() && scope->varlist.empty()) out << "/>" << std::endl; else { @@ -3921,6 +3923,8 @@ void SymbolDatabase::printXml(std::ostream &out) const out << " isInlineKeyword=\"true\""; if (function->isStatic()) out << " isStatic=\"true\""; + if (const Function* overriddenFunction = function->getOverriddenFunction()) + out << " overriddenFunction=\"" << overriddenFunction << "\""; if (function->argCount() == 0U) out << "/>" << std::endl; else { @@ -3946,6 +3950,27 @@ void SymbolDatabase::printXml(std::ostream &out) const } out << " " << std::endl; + if (!typeList.empty()) { + out << " \n"; + for (const Type& type:typeList) { + out << " \n"; + continue; + } + out << ">\n"; + for (const Type::BaseInfo& baseInfo: type.derivedFrom) { + out << " \n"; + } + out << " \n"; + } + out << " \n"; + } + // Variables.. for (const Variable *var : mVariableList) variables.insert(var);