dump: use toxml for function names to handle operator& etc
This commit is contained in:
parent
248f468c67
commit
13cf6be40b
|
@ -2469,7 +2469,7 @@ void SymbolDatabase::printXml(std::ostream &out) const
|
|||
if (!scope->functionList.empty()) {
|
||||
out << " <functionList>" << std::endl;
|
||||
for (std::list<Function>::const_iterator function = scope->functionList.begin(); function != scope->functionList.end(); ++function) {
|
||||
out << " <function id=\"" << &*function << "\" tokenDef=\"" << function->tokenDef << "\" name=\"" << function->name() << '\"';
|
||||
out << " <function id=\"" << &*function << "\" tokenDef=\"" << function->tokenDef << "\" name=\"" << toxml(function->name()) << '\"';
|
||||
if (function->argCount() == 0U)
|
||||
out << "/>" << std::endl;
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue