SymbolDatabase: Add Function::access info for methods

This commit is contained in:
Daniel Marjamäki 2022-07-22 10:36:43 +02:00
parent 0d72216cca
commit 894975f845
1 changed files with 2 additions and 0 deletions

View File

@ -3919,6 +3919,8 @@ void SymbolDatabase::printXml(std::ostream &out) const
else if (function->isImplicitlyVirtual())
out << " isImplicitlyVirtual=\"true\"";
}
if (function->access == AccessControl::Public || function->access == AccessControl::Protected || function->access == AccessControl::Private)
out << " access=\"" << accessControlToString(function->access) << "\"";
if (function->isInlineKeyword())
out << " isInlineKeyword=\"true\"";
if (function->isStatic())