SymbolDatabase: Add Function::access info for methods
This commit is contained in:
parent
0d72216cca
commit
894975f845
|
@ -3919,6 +3919,8 @@ void SymbolDatabase::printXml(std::ostream &out) const
|
||||||
else if (function->isImplicitlyVirtual())
|
else if (function->isImplicitlyVirtual())
|
||||||
out << " isImplicitlyVirtual=\"true\"";
|
out << " isImplicitlyVirtual=\"true\"";
|
||||||
}
|
}
|
||||||
|
if (function->access == AccessControl::Public || function->access == AccessControl::Protected || function->access == AccessControl::Private)
|
||||||
|
out << " access=\"" << accessControlToString(function->access) << "\"";
|
||||||
if (function->isInlineKeyword())
|
if (function->isInlineKeyword())
|
||||||
out << " isInlineKeyword=\"true\"";
|
out << " isInlineKeyword=\"true\"";
|
||||||
if (function->isStatic())
|
if (function->isStatic())
|
||||||
|
|
Loading…
Reference in New Issue